You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by fea jabi <zy...@hotmail.com> on 2007/01/05 18:43:57 UTC

session time out

When the session times out want to redirect to a session time out page.

Is there an easier way to do this in struts?

How can this be done?


Thanks.

_________________________________________________________________
Find sales, coupons, and free shipping, all in one place!  MSN Shopping 
Sales & Deals 
http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: session time out

Posted by Information Guzzler <in...@gmail.com>.
Have the sessionListener track the session duration and on timeout remove
attributes from session.

Also, On each struts view, before displaying check for a session attribute,
if not present redirect to session timeout page using logic:forward

/S


On 1/5/07, fea jabi <zy...@hotmail.com> wrote:
>
> When the session times out want to redirect to a session time out page.
>
> Is there an easier way to do this in struts?
>
> How can this be done?
>
>
> Thanks.
>
> _________________________________________________________________
> Find sales, coupons, and free shipping, all in one place! MSN Shopping
> Sales & Deals
> http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>