[Seaside] How to deal with expired sessions on Ajax callbacks
Sebastian Sastre
ssastre at seaswork.com
Fri Nov 2 22:19:57 UTC 2007
Very interesting Boris. And thanks for the tip in
...
onExpiry: html javascript refresh;
...
Instead of overriding the canvas I'll use it in my updater
builder/customizer. Very useful, it's a good one I'm using it now.
thanks again,
Sebastian Sastre
> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre
> de Boris Popov
> Enviado el: Viernes, 02 de Noviembre de 2007 15:21
> Para: Seaside - general discussion
> Asunto: RE: [Seaside] How to deal with expired sessions on
> Ajax callbacks
>
> 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
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the seaside
mailing list