Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed #61: persistent cookie with expiration #212

Open
wants to merge 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 1, 2013
  1. @Shu-Ji
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  web/session.py
View
2  web/session.py
@@ -140,6 +140,8 @@ def _save(self):
self._setcookie(self.session_id, expires=-1)
def _setcookie(self, session_id, expires='', **kw):
+ if expires == '':
+ expires = self._config.timeout
cookie_name = self._config.cookie_name
cookie_domain = self._config.cookie_domain
cookie_path = self._config.cookie_path
Something went wrong with that request. Please try again.