Changeset 18116 in project


Ignore:
Timestamp:
05/19/10 11:49:04 (9 years ago)
Author:
Mario Domenech Goulart
Message:

awful (trunk): when sessions are in use and the session identifier is
invalid, pass it to the login page if it exists. So it's possible to
identify when the session doesn't exist at all and when the session is
actually invalid.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/awful/trunk/awful.scm

    r18109 r18116  
    366366                                    content: (++ "0;url=" (login-page-path)
    367367                                                 "?reason=invalid-session&attempted-path=" path
    368                                                  "&user=" ($ 'user "")))))))
     368                                                 "&user=" ($ 'user "")
     369                                                 (if ($ 'sid) (++ "&sid=" ($ 'sid)) "")))))))
    369370         (when (and (db-connection) (db-enabled?) (not no-db)) ((db-disconnect) (db-connection)))
    370371         out)))))
Note: See TracChangeset for help on using the changeset viewer.