We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 35291
    • 21 Posts
    Hi all,

    so my problem is, the logout function seems to work properly but it only gets refreshed (sends the login template after logout - i use personalize snippet) if i do a SAVE action on the back-end of my website.

    my login snippet call is in a chunk, that would be the header_logo chunk for my website. It’s displayed on top, you get the idea. It’s directly called by [[!personalize]]

    once the user logs in to the front-end, [[!personalize]] sends the "welcome user blablahblah" chunk.

    that chunk contains a call to [[!login]] to display the logout URL.

    Everything is displayed well and seems to work, but the logout.

    When the user logs out, it’s beeing redirected to home (per defenition) but the "welcome user blablah" stays - hence the user isn’t logged off properly.

    Refreshing the page several times, clearing the cache... just doesn’t do it.

    However, i the user logs out and i then save a ressource (anyone for that matter), the user reloads and bam, it’s logged out and the real login boxes chunk appears.

    what’s wrong here? hopefully i don’t need to be on the lookout for all logging out users and do a fake ’save ressource’ action everytime smiley)

    Thanks for your help.

    Modx 2.1.1 Traditional
    Apache on win 7
    chrome latest
      • 35291
      • 21 Posts
      Ho well, after reading a bit more (and believe me i did read before posting) i tried to logoff back-end, close browser, re-open, log my fake user in the front-end, logout..... flawlessly.

      It seems that it’s a glitch from either modx of personalize snippet.

      Now i know! smiley

      hopefully, that’ll avoid another fool like me to post here!!! --- and in the meantime, solve his problem! Thanks!