[Seaside] cleaning up in 2.5

Avi Bryant avi at beta4.com
Wed Sep 8 11:15:03 CEST 2004


On Sep 8, 2004, at 11:07 AM, radoslav hodnicak wrote:

> Yeah from workspace, just looping over allInstances of my session and
> sending it expire. The most reliable way if found (that was seaside 
> 2.3,
> perhaps 2.5 has some new hooks but I'm still using the old code) is to
> override #isActive in your session and call #expire from there if 
> "super
> isActive" returns false. Then override #expire to do clean-up

Seaside 2.5 does have new hooks - just override #unregistered on your 
Session.



More information about the Seaside mailing list