This is what the SessionValidator actions are for.  The default session
validators that come with Turbine do pretty much what you are after, but
you are free to write your own and set the correct action in TR.props.

John McNally

"Chappuis J.-Vincent" wrote:
> 
> Hi
> 
> I'm looking for an element in RunData.session which can tell me if the
> current session is valid or not.
> After a few time (which can be set in the TurbineResources.properties), the
> session is lose.
> 
> if the user is idle for long time session timeout occurs and when the user
> try to continue after the timeout,
> I don't want that's make a bug like a "nullPointerException" or something
> like that.
> 
> I would like to catch if the session is available or not via layout and
> redirect the screen to the login screen.
> But I don't find the object which can tell me if the session is terminated
> or not.
> 
> Any idea ?
> 
> Regards
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to