Log out method is not closing the session
Log out method is not closing the session
- Subject: Log out method is not closing the session
- From: Gustavo Adolfo Pizano <email@hidden>
- Date: Tue, 23 Jun 2009 10:55:26 +0200
Hello.
I followed they way PWO says how to handle log out, I created a method Logout that it;s being called from a WOHyperLink, there I do the follwoing public WOComponent logout() { session().terminate(); WORedirect mainPage = (WORedirect) pageWithName("WORedirect"); mainPage.setUrl(context().directActionURLForActionNamed("default", noWOSID)); return mainPage; }
I get redirected to the login page, but javaMonitor shows me that the Session its still active.
what Im doing wrong?
G.
|
_______________________________________________
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