Menu

#82 Log in / log out does not redraw nav bar

closed-fixed
MartyD
3
2009-07-25
2009-07-20
MartyD
No

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.

Discussion

  • MartyD

    MartyD - 2009-07-20
    • priority: 5 --> 3
    • assigned_to: nobody --> marty-d
     
  • MartyD

    MartyD - 2009-07-21

    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.

     
  • MartyD

    MartyD - 2009-07-21
    • status: open --> open-fixed
     
  • Ahasuerus

    Ahasuerus - 2009-07-25
    • status: open-fixed --> closed-fixed
     
  • Ahasuerus

    Ahasuerus - 2009-07-25

    Fixed in r2009-13.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB