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 (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/th-dev%40onlinehome.de
This email sent to th-...@onlinehome.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com