> > I changed the expire_sessions.py file to clean up expired sessions, will > it clean up the sessions created the way above as well? >
I don't see why not. Note, the above doesn't create the session (web2py does that) -- it simply adds variables to the session. From the framework perspective, the session works as usual. > Does it make a difference whether you store session in the sessions folder > or in a database? > In terms of clean-up, yes -- the above code is for cleaning up file-based sessions only. Anthony --

