Karthik N wrote:
> andy, while i have your attention :-), i had a question:
>
> handleStaleSessionException on the engine class - when does it get
> called in
> a request-response cycle?
>
> will it get called only during a stateful form, or will it get called
> even
> before any tapestry page gets validated.
I *think* only in stateful forms and stateful links, i.e. by the direct
service.
In both
http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/Form.html
http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/DirectLink.html
stateful parameter is true by default..

I believe that the page service doesn't handle this (and IMHO it
shouldn't) .

>
> the issue i have is that we have some logic in the page validate which
> relies on stuff in the HTTP session, and i want to catch the expiration
> before the page validate gets called
> any pointers?
>
> On 9/23/06, andyhot <[EMAIL PROTECTED]> wrote:
>>
>> Karthik N wrote:
>> > follow the thread: Expired Session Message - nabble seems to have
>> > mixed 2 or
>> > 3 threads in 1.
>>
>> nope, it's not nabble's fault. In order to send new mails to this list,
>> some people
>> are used to just clicking on reply on some other mail and changing its
>> subject.
>>
>> >
>> > the gist, as i've gathered so far - you can create and register
>> your own
>> > StaleSession page
>>
>> yep, just create a page named StaleSession
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


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

Reply via email to