----- Original Message ----- 
From: "Kent Tong" <[EMAIL PROTECTED]>
To: <tapestry-user@jakarta.apache.org>
Sent: Friday, April 15, 2005 4:07 AM
Subject: Re: Logout question - Session Already Invalidated


> This is not a recommended way to terminate the session. You
> should not do it in a listener. You should do it only in
> a service. That's why the restart() method is only available
> in IEngineServiceView (the service's view on the engine).
>
> For the user to initiate the logout, use a ServiceLink
> component to invoke the restart service. For your internal
> logic to intiate the logout, throw a RedirectException
> to redirect to the restart service.

I just want to point out again to this problem, that should really have
first-class support in any web framework due to it's commonality :
http://issues.apache.org/jira/browse/TAPESTRY-237

-Vjeran



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.9 - Release Date: 13.4.2005


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to