Re: Sessions not terminating
Re: Sessions not terminating
- Subject: Re: Sessions not terminating
- From: Chuck Hill <email@hidden>
- Date: Sun, 20 Aug 2006 20:50:34 -0700
On Aug 20, 2006, at 8:04 PM, Drew Thoeni wrote:
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";
}
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?
Some binding in Commom.wod? Code in Common.java?
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden