Oops, I mean stop and start webware =) I think I managed to get this to go away by doing a bit tighter session management. I was leaving the session stuff around until the next post (since those values are meaningless outside of the context of the redirect), but now I clean them out at the earliest possibility. I think this is ok for now, but I will try switching to 'File' to see if that eases the pain there.
Thanks for the response and idea =) jeremy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 10:46 AM To: JD Kaplan Cc: [EMAIL PROTECTED] Subject: RE: [Webware-discuss] session strangeness Try changing your sessions store from Dynamic to File. What do you mean by bounce the server? Jose > -------- Original Message -------- > Subject: RE: [Webware-discuss] session strangeness > From: "JD Kaplan" <[EMAIL PROTECTED]> > Date: Mon, October 18, 2004 1:29 pm > To: [EMAIL PROTECTED] > > 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. > > > > Thanks, > > jeremy > > > > _____ > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of JD Kaplan > Sent: Monday, October 18, 2004 3:06 PM > To: [EMAIL PROTECTED] > 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 dispatchRequest > File "WebKit/Application.py", line 494, in isSessionIdProblematic > File "WebKit/HTTPRequest.py", line 222, in session > File "WebKit/Transaction.py", line 67, in session > File "WebKit/Application.py", line 963, in createSessionForTransaction > File "WebKit/Application.py", line 789, in session > File "WebKit/SessionDynamicStore.py", line 72, in __getitem__ > File "WebKit/SessionDynamicStore.py", line 135, in MovetoMemory > File "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. > > Thanks, > jeremy > > > > --- > > When I grow up, I want to be the lesser of two evils. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
