durusmail: quixote-users: Cookies sort-of expiring
Cookies sort-of expiring
2004-11-15
2004-11-15
2004-11-17
Cookies sort-of expiring
Titus Brown
2004-11-15
-> I am not sure if this is linked with my previous posting (Interleaving
-> requests) but unpredictably - that is, I cannot reliably reproduce it - I get
-> a message along the lines of:
->
-> "Your session is invalid or has expired. Please reload this page to start a
-> new session.
-> Expired or invalid session: 3c2b77d527b61517"
->
-> This occurs in any make of browser across 3 operating systems.
->
-> If I reload the page...it carries on with the same session ID. I was alerted
-> to this becuase reloading should cause a new login (if the session has
-> expired and a new cookie is issued, the user value should be blank) plus, if
-> I force an error or examine the cookie within the browser, the cookie ID is
-> the same.
->
-> Is the cookie error message being displayed in error (!) by quixote because
it
-> is misrepresenting some other error, perhaps?

It certainly sounds like an interleaving-requests problem, if I read
that right.  What is probably happening is that you have several
different session managers running, and they do not all have access
to the same pool of sessions; e.g. ManagerOne has SESSIONKEY1,2,3 etc,
and when those keys get sent to ManagerTwo it claims not to know
anything about them.

Make sure the session key is getting saved into some cross-request
dictionary/database and that you're not caching them inappropriately.

cheers,
--titus

reply