[Seaside] Re: Session expiration and data cleaning

Dave lasmiste at gmail.com
Thu Feb 27 10:07:37 UTC 2014

Thanks Bob,

WACache allInstances do: [ :e | e reap]

is right for my needs. Now I have to tune a timer, as Karsten already
pointed out and I think I can solve my issues.

Thanks guys

Bob Arning-2 wrote
> I wonder if this doesn't point the way...
> expire
>      self
>          greaseDeprecatedApi: 'WASession>>#expire'
>          details: 'This method might be reimplemented again. In the 
> meantime, if you just want to remove the Session from the Application, 
> use WASession>>unregister (#unregistered will be called as a 
> notification instead of #expired). Otherwise you should consider adding 
> a Request Filter to the Session that implements whatever behaviour you 
> want in order to block access to the Session.'.
>      ^ self unregister
> as well as...
> WACache allInstances do: [ :e | e reap].
> Cheers,
> Bob

View this message in context: http://forum.world.st/Session-expiration-and-data-cleaning-tp4745919p4746713.html
Sent from the Seaside General mailing list archive at Nabble.com.

More information about the seaside mailing list