Hello,

I'm using Tapestry 4 on Tomcat 5.5

I would like my users to be able to bookmark a URL after doing a search using @Form from within a custom component.

I've tried setting the the @Form binding of the "stateful" parameter. It seems the difference is in outputting the JSESSIONID.

This is no good..because later the session might expire, producing the "Stale Exception" page.

I find that if I make that form "stateful=false", then cut out the "&session=T" part, i get the page properly with a new JSESSION.

Perhaps what I really need to do is handle the Stale Session exception?

I found the following links from another post, but i'm not exactly sure what to make of them. How could I handle the exception for just that particular page?

http://jakarta.apache.org/tapestry/tapestry/hivedocs/module/tapestry.error.html

http://jakarta.apache.org/tapestry/tapestry/hivedocs/service/tapestry.error.StaleLinkExceptionPresenter.html

I'm sure it has something to do me putting something into hivemodule.xml...

Seems like these "Stale Session" handling questions crop up all the time(searching the forum)...maybe someone could add something to the Wiki?

-Mike

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

Reply via email to