[Seaside] how to determine server is inactive
Randal L. Schwartz
merlyn at stonehenge.com
Thu Oct 28 06:45:57 UTC 2010
>>>>> "Yanni" == Yanni Chiu <yanni at rogers.com> writes:
Yanni> I would like to have a Seaside image automatically save&quit, if it is
Yanni> inactive. Now, how should the inactive state be determined?
I'd set a timer to trigger the save and quit, and on every request,
reset the timer to its full time again. Not sure where to hook it in
for each request, but maybe with a bit of poking, you can find it.
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
More information about the seaside