Re: Restore and Save Session

2006-08-30 Thread Mike Schrag
WOApplication application = WOApplication.application(); WOContext context = application.createContextForRequest(_request); WOResponse response = application.createResponseInContext(context); and if you "know" the session ID through some other mechanism than normal you can call:

Re: Restore and Save Session

2006-08-30 Thread apl
Hello Chuck; I am a little confused here as at (2) there is no context in which to restore/save the session. I assume in the case of the component request handler, the context is actually created at (2), but I am creating a system that uses 'WOAction' so I assume the context must be bein

Re: Restore and Save Session

2006-08-30 Thread Chuck Hill
On Aug 29, 2006, at 9:49 PM, [EMAIL PROTECTED] wrote: Hello; I'm wondering, when one is writing a request handler, where should the session restore and save be located? 1) WOAction.performActionNamed(...) 2) WORequestHandler.handleRequest(...) Anybody know where Apple does this? The sec

Re: Restore and Save Session

2006-08-30 Thread Mike Schrag
It should be in handleRequest, and make sure that you put your saveSession in a finally block so that it is ALWAYS called if you restore it. ms On Aug 30, 2006, at 12:49 AM, [EMAIL PROTECTED] wrote: Hello; I'm wondering, when one is writing a request handler, where should the session re