• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Log out method is not closing the session
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Log out method is not closing the session
      • From: Gustavo Adolfo Pizano <email@hidden>
References: 
 >Log out method is not closing the session (From: Gustavo Adolfo Pizano <email@hidden>)

  • Prev by Date: Log out method is not closing the session
  • Next by Date: Re: Log out method is not closing the session
  • Previous by thread: Log out method is not closing the session
  • Next by thread: Re: Log out method is not closing the session
  • Index(es):
    • Date
    • Thread