I've done something similar in the past.

1. I suggest expanding the logic a bit- log the filename , along with
timestamp and session id
2. have a cronjob that deletes files associated with sessions that
were last used outside a given window

session cleanups within an app tend to only happen if someone
explicitly clicks "logout", and thats rarely even a single digit
percentage of most apps.  the overwhelming majority of people just
don't 'continue' using the session -- so you need logic to handle that.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to