I couldn't login following steps.
1. Setup phpMyAdmin with cookie certification.
2. Try to login with the wrong username or password.
-> It will result the error message (server connection failed)
3. Login with the correct username and password.
4. The error message.
This problem with Firefox 2.0/3.0(beta), without IE6/Safari.
I checked the http response header at STEP(4).
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: private, max-age=10800, pre-check=10800
Under HTTP/1.1(RFC2068), Cache-Control header overwrite Expires header. So browser cache control will be enabled at STEP(4). I think the response should be:
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Logged In: YES
user_id=1973159
Originator: YES
Cache control test.
patch file to libraries/auth/cookie.auth.lib.php.
After patching this, it will ok with firefox.
File Added: fixtest-loginchache.txt
Logged In: YES
user_id=210714
Originator: NO
I cannot reproduce this problem, any idea why?
Logged In: YES
user_id=1973159
Originator: YES
This problem seems to be happend only using PHP-CGI. (not FastCGI)
I cann't reproduce it using mod_php.
Testing environments:
* Windows XP + apache 2.2.4 + php 5.2.0 (from official sites)
* Debian/etch + apache 2.2.3 + php 5.2.0 (all of these are debian official packages)
Moved to patches
Merged in subversion, thanks.