On Wed, Feb 11, 2009 at 1:36 PM, achipa <attila.cs...@gmail.com> wrote:
>
> As Markus pointed out, expire_sessions.py (which is just an example
> for cron, albeit a useful one :) ) only deals with disk based
> sessions. Not sure who's the original author, but patches for DB based
> sessions are welcome, I don't have a DB based session setup at hand
> and would like to avoid coding such thing 'blindly'.

That's easy: Just add

session.connect(request,response,db=db)

in your db.py file to store sessions in a database table.

Markus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to