~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/dispatch/__init__.py

  • Committer: dcoles
  • Date: 2008-02-18 05:57:58 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:493
session.php: More interfaceing between IVLE and phpBB. Adds groups, emails and
a few other nifty features (like setting the right cookies with a better HMAC).

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
from request import Request
39
39
import html
40
40
import login
41
 
from common import util
 
41
from common import (util, forumutil)
42
42
 
43
43
def handler(req):
44
44
    """Handles a request which may be to anywhere in the site except media.
124
124
    session = req.get_session()
125
125
    session.invalidate()
126
126
    session.delete()
 
127
    req.add_cookie(forumutil.invalidated_forum_cookie())
127
128
    req.throw_redirect(util.make_path(''))