[Seaside] Session expiry

Boris Popov boris at deepcovelabs.com
Wed Jan 2 16:22:13 UTC 2008

Why not show a session expired notice on the home page then when this happens, care to see the code? I can dig it up, its really simple.


-Boris (via BlackBerry)

----- Original Message -----
From: seaside-bounces at lists.squeakfoundation.org <seaside-bounces at lists.squeakfoundation.org>
To: Seaside - general discussion <seaside at lists.squeakfoundation.org>
Sent: Wed Jan 02 04:09:57 2008
Subject: Re: [Seaside] Session expiry

On 1/2/08, Lukas Renggli <renggli at gmail.com> wrote:
> > > > Thanks, Lukas, I did see similar questions in the archives, but the
> > > > answer only ever seems to be a workaround, not a complete solution (at
> > > > least for me). I'll see if I can work out something for myself just to
> > > > satisfy my own curiosity - hopefully without breaking the framework
> > > > ;-)
> > >
> > > No, that's a propre solution.
> >
> > Sorry, I respectfully disagree. And everyone that I've shown Seaside
> > to, as much as they immediately liked it, the reaction to the handling
> > of expired sessions is always something that brings up a frown. And
> > while using JavaScript to spice up websites is great, sites *should*
> > work for browsers without it, or with JavaScript disabled.
> Sure, this approach gracefully degrades to the default session expiry
> behavior of Seaside. The JavaScript approach spices up the experience
> so that as long as you keep the window open the session never expires.
> If you want something else, such as bookmark-able URLs, you
> (additionally) need something else.

This default session expiry behaviour is exactly what gets my goat...
;-) There's nothing graceful, imho, about clicking on a link and being
sent, by default, to the site's start page. If the default were to
send users to a simple "session expired" page, that would change
things completely for me...
seaside mailing list
seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20080102/f14d8a6b/attachment.htm

More information about the seaside mailing list