Based on research on the list, I've modified my sign out method to (hopefully) terminate sessions appropriately. 

However, I can check in JavaMonitor and see a new session created when I sign in but the session sticks around when I sign out using this method:

    public WORedirect signOut() {
WORedirect nextPage = new WORedirect(context());
nextPage.setUrl(context().directActionURLForActionNamed("signOut",null));
session().terminate();
return nextPage;
    }


And here's the .wod from the page "SignOut":

Common1: Common {
}

Hyperlink1: WOHyperlink {
href = ""http://www.quaq.com/segment">http://www.quaq.com/segment";
}

And the method in DirectAction.java

    public WOActionResults signOutAction() {
return pageWithName("SignOut");
    }

The only thing I can think of is the fact that the SignOut page is wrapped with a Common page for consistency with the rest of the site. Any ideas on why these sessions would hang around?

Regards,

Drew
 _______________________________________________
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