Author: chrisz
Date: Wed Aug 30 11:17:43 2006
New Revision: 5668
Modified:
Webware/trunk/WebKit/Application.py
Log:
The IgnoreInvalidSession has been ignored after version 0.8.1. It is now evaluated again. When the parameter is not set (it is set by default), then an expired session will result in an error message "401 Session Expired".
Modified: Webware/trunk/WebKit/Application.py
==============================================================================
--- Webware/trunk/WebKit/Application.py (original)
+++ Webware/trunk/WebKit/Application.py Wed Aug 30 11:17:43 2006
@@ -352,6 +352,8 @@
print prefix, 'retrieved session =', session
except KeyError:
transaction.request().setSessionExpired(1)
+ if not self.setting('IgnoreInvalidSession'):
+ raise HTTPExceptions.HTTPSessionExpired
sessId = None
if not sessId:
session = Session(transaction)
|