I think this is true: when you manually call terminate() on a session,
it doesn't actually terminate until the next time it goes to sleep.
So if you call terminate() on a session which isn't even awake, it
will go through one more whole request-response cycle successfully
without a session restoration error.

Am I likely to cause any harm terminating a session which isn't awake,
and then preventing it from one more request-response using this in my
Application:
    @Override
    public WOSession restoreSessionWithID(String sessionID, WOContext
wocontext) {
        WOSession session =  super.restoreSessionWithID(sessionID,wocontext);
        if(session==null || session.isTerminating()) return null;
        return session;
    }

Thanks,
Robert
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to