[Seaside] Using updater on expired sessions?

Boris Popov boris at deepcovelabs.com
Fri Jun 30 14:25:13 UTC 2006


I haven't looked at scriptaculous documentation yet, but wouldn't timeouts
trigger the onError handler?

And keeping the page from expiring isn't really an option in my case. This
is a financial application and we're intentionally keeping the inactivity
period very low before the expiry kicks in. What I think I may do for now,
is validate the contents of the div in the onSuccess and bail out of the
whole page if its not tagged properly. If you can think of a better way,
please share as it seems like this would be a typical scenario for a lot of
developers out there.

Keep up the good work!

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

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 Lukas
Renggli
Sent: Friday, June 30, 2006 12:00 AM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] Using updater on expired sessions?

> Hmm, if you use a scriptaculous updater to refresh contents of a given
'div'
> after your session expires, the new contents will include a brand new copy
> of the application's home page :)

That can be fixed, but I am not sure what should happen in case of a
time-out.

> Workarounds, anyone?

Put a periodical updater into the page that calls the server every
couple of minutes. This should avoid the session to time-out as long
as the browser window is open.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3370 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20060630/81c86d01/smime.bin


More information about the Seaside mailing list