Thanks for this patch! Persistent sessions is something most people will want to have.
Why is it not in the main repository? I think it's rather inconvenient to have to patch your web.py install to do that quite important thing.
Finally, here's how to use the persistent sessions:
1. Apply patch 2. Inside the handler class where you setup the user's session, just add "session.persistent = True"
Thanks for this patch! Persistent sessions is something most people will want to have.
Why is it not in the main repository? I think it's rather inconvenient to have to patch your web.py install to do that quite important thing.
Finally, here's how to use the persistent sessions:
1. Apply patch
2. Inside the handler class where you setup the user's session, just add "session.persistent = True"