Again, on the session cookie, i'm requesting for a persistent cookie with expiration rather than cookies that expire on browser close.
There has been some old threads, however i didn't see the reason why this feature could not be added.
easy "in-project" fix:
def _setcookie(self, session_id, expires='', **kw):
if expires == '':
expires = self._config.timeout
super(Session, self)._setcookie(session_id, expires, **kw)
Yes it would work. But why not add a 'persistent' option just like this: https://bugs.launchpad.net/webpy/+bug/305360.
It would be much easier for beginners, yet not many lines of code for web.py.
I just filed a new issue with the same request: #99
Please make it happen. :)
I would love to see this change finally.
Fixed #61: persistent cookie with expiration