[Catalyst] IE cookie problems - the sequel

Marc Logghe Marc.Logghe at DEVGEN.com
Fri Nov 17 15:40:18 GMT 2006


Hi all,
It looks like I have the same problem as described in this thread:
http://thread.gmane.org/gmane.comp.web.catalyst.general/7293/focus=7293.
 
Authentication works fine in firefox, not in IE. And it all has to do
with the session cookie. At least I think so.
As it seems, when logging out ($c->logout is called and
$c->delete_session as well), the session id in the cookie is deleted
using FF, but not with IE. This means that a user is unable to login
again after logging out because he/she is redirected to the login page
all the time. It only works when the cookie is actually deleted.
 
The test server log for IE looks like this (below that you will find the
log using firefox):
[info] *** Request 1 (0.038/s) [4786] [Fri Nov 17 15:47:07 2006] ***
[debug] "GET" request for "logout" from "172.18.1.5"
[debug] Path is "logout"
[debug] Found sessionid "b1edd018adf87033bca1e6970a4f73c7ff79b49d" in
cookie
[debug] Restored session "b1edd018adf87033bca1e6970a4f73c7ff79b49d"
[debug] Deleting session(no reason given)
[debug] Found sessionid "b1edd018adf87033bca1e6970a4f73c7ff79b49d" in
cookie
[debug] Deleting session(session expired)
[debug] Found sessionid "b1edd018adf87033bca1e6970a4f73c7ff79b49d" in
cookie
[debug] Redirecting to "http://vicaris.be.devgen.com:3000/"
[info] Request took 0.062485s (16.004/s)
.----------------------------------------------------------------+------
-----.
| Action                                                         | Time
|
+----------------------------------------------------------------+------
-----+
| /auto                                                          |
0.014208s |
| /logout/index                                                  |
0.014237s |
| /end                                                           |
0.003326s |
'----------------------------------------------------------------+------
-----'
 
[info] *** Request 1 (0.038/s) [4787] [Fri Nov 17 15:47:07 2006] ***
[debug] "GET" request for "/" from "172.18.1.5"
[debug] Found sessionid "b1edd018adf87033bca1e6970a4f73c7ff79b49d" in
cookie
[debug] Deleting session(session expired)
[debug] Found sessionid "b1edd018adf87033bca1e6970a4f73c7ff79b49d" in
cookie
[debug] Deleting session(session expired)
[debug] ***Root::auto User not found, forwarding to /login
[debug] Found sessionid "b1edd018adf87033bca1e6970a4f73c7ff79b49d" in
cookie
[debug] Deleting session(session expired)
[debug] Found sessionid "b1edd018adf87033bca1e6970a4f73c7ff79b49d" in
cookie
[debug] Redirecting to "http://vicaris.be.devgen.com:3000/login"
[info] Request took 0.049290s (20.288/s)
.----------------------------------------------------------------+------
-----.
| Action                                                         | Time
|
+----------------------------------------------------------------+------
-----+
| /auto                                                          |
0.013060s |
| /end                                                           |
0.003149s |
'----------------------------------------------------------------+------
-----'
 
[info] *** Request 1 (0.037/s) [4788] [Fri Nov 17 15:47:08 2006] ***
[debug] "GET" request for "login" from "172.18.1.5"
[debug] Path is "login"
[debug] Found sessionid "b1edd018adf87033bca1e6970a4f73c7ff79b49d" in
cookie
[debug] Deleting session(session expired)
[debug] Rendering template "login.tt2"
[debug] Found sessionid "b1edd018adf87033bca1e6970a4f73c7ff79b49d" in
cookie
[debug] Deleting session(session expired)
[debug] Applying HTML page layout wrappers to login.tt2
[info] Request took 0.090172s (11.090/s)
.----------------------------------------------------------------+------
-----.
| Action                                                         | Time
|
+----------------------------------------------------------------+------
-----+
| /auto                                                          |
0.010885s |
| /login/index                                                   |
0.000122s |
| /end                                                           |
0.044515s |
|  -> posedb::View::TTSite->process                              |
0.033991s |
'----------------------------------------------------------------+------
-----'

 
the log for firefox:



[info] *** Request 1 (0.000/s) [4739] [Fri Nov 17 15:44:04 2006] ***
[debug] "GET" request for "logout" from "172.18.1.5"
[debug] Path is "logout"
[debug] Found sessionid "c482ed4b45263de107a227623e78f0b9f2189541" in
cookie
[debug] Restored session "c482ed4b45263de107a227623e78f0b9f2189541"
[debug] Deleting session(no reason given)
[debug] Found sessionid "c482ed4b45263de107a227623e78f0b9f2189541" in
cookie
[debug] Deleting session(session expired)
[debug] Found sessionid "c482ed4b45263de107a227623e78f0b9f2189541" in
cookie
[debug] Redirecting to "http://vicaris.be.devgen.com:3000/"
[info] Request took 0.086520s (11.558/s)
.----------------------------------------------------------------+------
-----.
| Action                                                         | Time
|
+----------------------------------------------------------------+------
-----+
| /auto                                                          |
0.014283s |
| /logout/index                                                  |
0.036234s |
| /end                                                           |
0.003420s |
'----------------------------------------------------------------+------
-----'
 
[info] *** Request 1 (0.000/s) [4740] [Fri Nov 17 15:44:04 2006] ***
[debug] "GET" request for "/" from "172.18.1.5"
[debug] ***Root::auto User not found, forwarding to /login
[debug] Created session "70751e765ee8954ef23d58495a80244190b2a700"
[debug] Redirecting to "http://vicaris.be.devgen.com:3000/login"
[info] Request took 0.079335s (12.605/s)
.----------------------------------------------------------------+------
-----.
| Action                                                         | Time
|
+----------------------------------------------------------------+------
-----+
| /auto                                                          |
0.009060s |
| /end                                                           |
0.021495s |
'----------------------------------------------------------------+------
-----'
 
[info] *** Request 1 (0.000/s) [4741] [Fri Nov 17 15:44:05 2006] ***
[debug] "GET" request for "login" from "172.18.1.5"
[debug] Path is "login"
[debug] Found sessionid "70751e765ee8954ef23d58495a80244190b2a700" in
cookie
[debug] Restored session "70751e765ee8954ef23d58495a80244190b2a700"
[debug] Rendering template "login.tt2"
[debug] Applying HTML page layout wrappers to login.tt2
[info] Request took 0.096831s (10.327/s)
.----------------------------------------------------------------+------
-----.
| Action                                                         | Time
|
+----------------------------------------------------------------+------
-----+
| /auto                                                          |
0.013903s |
| /login/index                                                   |
0.000160s |
| /end                                                           |
0.047460s |
|  -> posedb::View::TTSite->process                              |
0.040094s |
'----------------------------------------------------------------+------
-----'
 
 
 
Thanks,
Marc 
 



More information about the Catalyst mailing list