diff --git a/VERSION b/VERSION index b6c2fb80..3542a5a0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.02.05.10.43.24 +Version 2.4.1-alpha.2+timestamp.2013.02.05.13.23.12 diff --git a/gluon/globals.py b/gluon/globals.py index 09397aa5..be64eb26 100644 --- a/gluon/globals.py +++ b/gluon/globals.py @@ -385,6 +385,8 @@ class Response(Storage): downloads from http://..../download/filename """ + current.session.forget(current.response) + if not request.args: raise HTTP(404) name = request.args[-1] @@ -689,7 +691,7 @@ class Session(Storage): def forget(self, response=None): self._close(response) - self._forget = True + self._forget = True def _try_store_in_cookie(self, request, response): if response.session_storage_type != 'cookie':