When you log in or log out, the left-hand navigation bar retains the prior status until the next navigation, even though the right-hand side displays a message about having successfully logged in/out.
This is fixed by the commit of common/login.py 1.5 on 20-Jul-2009. While logging in sets the cookies and logging out clears the cookies, the pages returned as a result of those actions determine the logged in/out state from the HTTP_COOKIE environment variable, which was reflecting the cookies sent WITH the action (i.e., lack of cookies on login, the full set of cookies on logout). Thus the one-access lag. The fix causes the cookie setting/clearing code to not just deliver the appropriate Set-Cookie headers, but also to update the HTTP_COOKIE variable for use during the remainder of the execution of the action and rendering of the response page.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is fixed by the commit of common/login.py 1.5 on 20-Jul-2009. While logging in sets the cookies and logging out clears the cookies, the pages returned as a result of those actions determine the logged in/out state from the HTTP_COOKIE environment variable, which was reflecting the cookies sent WITH the action (i.e., lack of cookies on login, the full set of cookies on logout). Thus the one-access lag. The fix causes the cookie setting/clearing code to not just deliver the appropriate Set-Cookie headers, but also to update the HTTP_COOKIE variable for use during the remainder of the execution of the action and rendering of the response page.
Fixed in r2009-13.