Re: Log out method is not closing the session
Re: Log out method is not closing the session
- Subject: Re: Log out method is not closing the session
- From: Timo Hoepfner <email@hidden>
- Date: Tue, 23 Jun 2009 12:58:50 +0200
Chances are that the session gets terminated, but your main/start page
immediately creates a new one... Usage of certain common components
creates a new session if there is none.
Timo
Am 23.06.2009 um 10:55 schrieb Gustavo Adolfo Pizano:
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
_______________________________________________
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