Welcome Guest, Not a member yet? Register   Sign In
Session library and IE caching
#1

[eluser]Rick Jolly[/eluser]
I'm not sure whether to file this as a bug or a feature request. Unlike php native sessions, the Session library doesn't send cache control headers in the response. When using the session library, IE seems to serve cached pages in some instances which results in the loss of session data. Users experiencing problems will often switch to php native sessions and the problem will be resolved - as in this case:
http://ellislab.com/forums/viewthread/64736/.

Here is an http header using php native sessions:
Code:
HTTP/1.1 200 OK
Date: Tue, 22 May 2007 18:00:42 GMT
Server: Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4
X-Powered-By: PHP/5.1.4
Set-Cookie: PHPSESSID=6e843f7874315f8ff0b5d6da3a570430; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 394
Content-Type: text/html
Without native sessions:
Code:
HTTP/1.1 200 OK
Date: Tue, 22 May 2007 17:59:03 GMT
Server: Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4
X-Powered-By: PHP/5.1.4
Set-Cookie: PHPSESSID=somesessionid
Content-Length: 386
Content-Type: text/html
X-Pad: avoid browser bug
#2

[eluser]codelearn[/eluser]
BUMP!?
#3

[eluser]theswede[/eluser]
BUMP!!!




Theme © iAndrew 2016 - Forum software by © MyBB