Eelco Hillenius wrote:
>
> On 6/17/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>> thats not entirely correct. while the event cannot be pushed to you, you
>> can
>> pull for it. you can set a cookie with expiration null - such a cookie is
>> destroyed when the window is closed. so you can poll for it ad if its
>> gone
>> you know its a new window being opened. in the same manner you can use
>> window.name variable, which is what we do.
>>
>> so when a request comes in and the user has a last_login cookie (set
>> expiratio to 30 mins), but no login_session cookie (which is the one with
>> expiration null) you know they closed the window and are coming back
>
> Yeah, that could work, though only when that particular user uses the
> same browser instance though. It would be better than nothing I guess.
>
> Eelco
>
>
> Yes, it might, but it is not sufficient for my case, because the same user
> may need access from different pcs, plus the login/logout data are shared
> across more than one (existing) applications.
>
> Konstantinos
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
--
View this message in context:
http://www.nabble.com/how-to-detect-http-session-expiry---timeout-due-to-no-user-activity-tf3930442.html#a11170714
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user