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