Get active sessions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Get active sessions

Gerhard Obermann
Hi!
 
How can i get all active (not expired) WASession instances for a specific application?
 
BTW, i know how to get all expired WASession instances!
 
Thanks - Gerhard

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Get active sessions

Lukas Renggli
> How can i get all active (not expired) WASession instances for a specific
> application?

Add and call the following method on your application:

     WARegistry>>activeHandlers
           ^ handlersByKey values select: [ :each | each isActive ]

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside