you found a bug that seems just a "typo". Fixing it works, but not completely: it tries to delete only the parent folder of a session file that got deleted (and quite frankly a bit slow, checking for every file). I'll simplify with an example: the "new storage scheme" is roughly
appname/sessions/ABC/CDE/ip_uuid Fixing the typo seems to cover only the case where ip_uuid gets deleted because it expired, and if it's the only file in there, CDE gets checked and if empty it gets removed.... but it leaves ABC even if at that point is empty too. try this <https://www.dropbox.com/s/4080g390sa5byw6/sessions2trash.py?dl=0> one instead: it gets the job done (I'm submitting a PR right now) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.