MMM first time I heard the expression, i guess its stateful,  what can I do
then?

G

On Wed, Jul 8, 2009 at 4:04 PM, Catherine Ferris <[email protected]> wrote:

> Hi Gustavo,
>
> Is your logout page stateful of stateless ?
>
> If it's stateful then the displaying the page will create a new session
> automatically.
>
> Catherine Ferris
>
> e-mail: [email protected]
>
> web: http://www.tycho.org.uk/
>
> On 8 Jul 2009, at 14:21, Gustavo Pizano wrote:
>
> Hello I have the following in the WOComponent
>
> <wo:WOHyperlink id ="logOut" class = "moreButton" action = "$logOut">Log
> Out</wo:WOHyperlink>
> in the .java. I have the follwoing:
>
>        /**
>   * Simple logout action that leaves the user on the page returned by the
> default
>   * Direct Action.
>   * @return <code>WORedirect</code> to default Direct Action
>   */
>      public static final NSDictionary noWOSID = new
> NSDictionary(Boolean.FALSE, "wosid");
>      public WOComponent logOut(){
>          session().terminate();
>          WORedirect mainPage = (WORedirect) pageWithName("WORedirect");
>          mainPage.setUrl(context().directActionURLForActionNamed("logOut",
> noWOSID));
>          return mainPage;
>      }
>
> and in the directaction :
>
>    /**
>      *
>      * @return The result of gettign the Action of Log out
>      */
>     public WOActionResults logOutAction(){
>
>         return pageWithName(LogOutPage.class.getName());
>     }
>
> I have nothing in the LogOutPage, just a "LogOut Succesfull".  but if I
> click the back button Im still inside the application, and can keep working
> on it.... :S
>
> why is this?
>
> Thanks
>
> Gustavo
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/apple%40tycho.org.uk
>
> This email sent to [email protected]
>
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to