[Seaside] How to deal with expired sessions on Ajax callbacks

Boris Popov boris at deepcovelabs.com
Fri Nov 2 18:20:45 UTC 2007


Keith,

Yup, that's one way to do it if you don't have an actual requirement to
expire sessions for security reasons. In our case we actually wanted it
to expire and even have a little helper that will ping the server
without "touching" the session and throw browser back to the home page
when left unattended after some number of minutes. So handling expiry of
sessions on Ajax calls is important in some cases.

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Keith Hodges
> Sent: Friday, November 02, 2007 11:18 AM
> To: Seaside - general discussion
> Subject: Re: [Seaside] How to deal with expired sessions on Ajax
callbacks
> 
> Alexandre Paes wrote:
> > Hi seasiders,
> >
> > Does anyone have any process of dealing with expired sessions on
Ajax
> > callbacks? This is very annoying when the session expires but the
> > application is still open on the browser, the client is left without
the
> > functionality and without any insight into why the application is
not
> > responding.
> >
> >
> > Cheers,
> >
> > Alex Paes
> >
> >
> 
> I add the "keep alive helper" to my application, this prevents the
> session from expiring while the user has his/her browser window open.
> 
> This helper and its friends are in
> http://www.squeaksource.com/Seaside28Jetsam
> 
> Keith
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list