You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by asianCoolz <se...@yahoo.com> on 2010/04/23 03:39:39 UTC

session expired error

Is below error caused by session expired

http://utilitybase.com/paste/29788


if yes, how to extend the tapestry user session? or better way to resolve this?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: session expired error

Posted by Kristian Marinkovic <kr...@porsche.co.at>.
it took me some time to realize you're using Tapestry 4.... 
please add the version number next time.

there are basically two simple ways to influence the session expiration:

1) change the timeout in your web.xml
        <session-config>
                <session-timeout>10</session-timeout>
        </session-config>

2) create a component, that is placed on every page that performs 
some ajax requests to a hidden page to keep the session active. 
as long as the browser is open the session wont expire.

g,
kris



Von:    asianCoolz <se...@yahoo.com>
An:     users@tapestry.apache.org
Datum:  23.04.2010 03:40
Betreff:        session expired error



Is below error caused by session expired

http://utilitybase.com/paste/29788


if yes, how to extend the tapestry user session? or better way to resolve 
this?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org