Hey Jonathan,
Thanks for that - I seem to have had my brain switched off - the
sessions are not (nessecarily) stored as bdb, i just realised that
what I am using is the default backend for beaker sessions in pylons.
So, I don't actually know if it's file or dbm (which I think/thought
uses bdb?). If it's file based, deleting is safe, if its bdb I'll
have to do some other magic.
Ok, so I went and checked the beaker code:
In Session's __init__:
if not type:
if data_dir:
self.type = 'file'
else:
self.type = 'memory'
else:
self.type = type
so this probably means I am using file based as I have a data_dir
defined and don't explicitly specify a type, therefore deleting should
be ok...
Sorry for the confusion and thanks for all the responses, much
appreciated!
Damian
On Dec 4, 10:34 pm, Jonathan Vanasco <[email protected]> wrote:
> sorry, clears out old bdb entries. not files. within bdb clear out
> the entries -- do not delete files in the fs.
--
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.