[Seaside] Saving the Image

Avi Bryant avi at beta4.com
Wed Jun 2 08:02:52 CEST 2004


On Jun 1, 2004, at 10:29 PM, Chris Reuter wrote:

> Is it safe to just call SystemDictionary>>snapshot:andQuit: in the
> callback and/or a looping process or is this going to cause problems?
> My main concern is that interrupting a web transaction might leave the
> image in an unstable state.

I've done this lots of times and never had a problem.  I've never 
thought too hard about *why* it works, but thinking about it now, it 
seems like all that would happen on startup is that you would resume 
halfway through processing a long-gone request, try to give it a 
response and find that the socket was invalid; that process would then 
throw an exception and die silently.  Should be just fine.

Avi



More information about the Seaside mailing list