David London wrote:
> Hello all, I have a problem that I'm hoping someone can shed some 
> light on. I need to do some extra work when a session times out and 
> I'm hoping that there is a simple way to hook into the session time 
> out cycle. I'm storing a unique identifier in the session that I need
>  to release some other resources, and since that information will 
> disappear when the session becomes invalid, I think that I need to 
> put in some custom code just before the session becomes invalid. Is 
> there a "simple" way of doing this? Has anyone done something similar
>  to this before and have any hints they can send my way.

You can specfify your own customized Session and/or SessionStore classes 
in the Application.config since Webware 0.9.3. You can use a subclass of 
Session where you overwrite the expiring() or sleep() methods.

-- Chris

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to