From: JD Kaplan [mailto:firstname.lastname@example.org]
Sent: Monday, October 18, 2004 4:29 PM
Subject: RE: [Webware-discuss] session strangeness
Additional information that is pertinent: I am doing a response.sendRedirect() in the same situation and it turns out that I only get that error if I bounce the server AFTER having done a redirect...
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of JD Kaplan
Sent: Monday, October 18, 2004 3:06 PM
Subject: [Webware-discuss] session strangeness
So I've recently been forced to store some information in the session and I used the transaction.session().setValue() call to do so. I manage the lifecycle of that information, removing it when I don't need it any longer and putting it in only when I need it. The code works fine and I'm happy about that. The bad thing is that if the server goes up and down for any reason I get this error:
Traceback (most recent call last):File "WebKit/Application.py", line 395, in dispatchRequestFile "WebKit/Application.py", line 494, in isSessionIdProblematicFile "WebKit/HTTPRequest.py", line 222, in sessionFile "WebKit/Transaction.py", line 67, in sessionFile "WebKit/Application.py", line 963, in createSessionForTransactionFile "WebKit/Application.py", line 789, in sessionFile "WebKit/SessionDynamicStore.py", line 72, in __getitem__File "WebKit/SessionDynamicStore.py", line 135, in MovetoMemoryFile "WebKit/SessionFileStore.py", line 55, in __getitem__KeyError: '20041018134147-bb1e0e08b042e0a050094e719c7b8ab8'
I can fix this by manually clearing the cookies in my browser, but that's a pain in the butt that I'd like to not foist upon the people using the web architecture to develop page content. Can anyone shed some light on whats going on here and why?
My server is set to use dynamic sessions at the moment.
When I grow up, I want to be the lesser of two evils.