Ah - found the following on removing expired sessions and it basically
suggests doing what I wanted:

http://beaker.groovie.org/sessions.html

Thanks,
Damian

On Dec 3, 7:12 pm, Jonathan Vanasco <[email protected]> wrote:
> On Dec 3, 10:37 am, Damian <[email protected]> wrote:
>
> > find ./data/ -mtime +14 |rm -f
>
> > Anything I should be aware of if I do this?
>
> 1) that'll clear out the template cache as well, won't it?  wouldn't
> it be better to do ./data/cache ./data/sessions
>
> 2) i've never used bdb as a backend for this; but wouldn't removing
> bdb files corrupt the bdb index ?  wouldn't it be safer to run an app
> that loop's through all the bdb entries and deletes old ones ?  the
> solution you're looking at looks like the right one for flat-file /
> pickled / yaml session manager... not bdb.  at least to me!

--

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