Can someone please explain to me what is going on or what I have to do to prevent the following from happening.

A user is using the system and performs a log out. They are redirected to the Home Page. A new Session is created. The user then hits the back button to a previously accessed form and clicks on submit.

The form is stateful. Even though this form (page) was rendered within another session id the request goes in under the new session so the resulting DirectService call to service does not through a StaleSessionException as the session is not new.

The result is an exception.

I have read a majority of TIA and scoured this mailiing list but never have I seen mention of this problem nor any pattern / best practice to avoid this.

Am I doing something fundamentally wrong? Do I need to encode the sessionid manually as a hidden parameter into each page and then validate them?

For some reason I assumed that form submissions would contain enough information to distinguish between sessions.

I pray there is an easy "Tapestry" solution (like overriding a service/engine or whatnot)

Can anybody out here shed some light on this before I start adding the session id to all of my forms. Maybe its not a bad idea anyway but still I would like to know what is going on.

Thanks again

Doug

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

Reply via email to