We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15003
    • 85 Posts

    I just went live with my first MODx site and am having problems with the login process.

    When I login I start off getting directed to the profile page, but I get redirected to the 401 Unauthorized Access Error page. Of course the correct url is in the address bar so I refresh, and then I am able to get through.
    If I click on a link that is subscription only (while I’m logged in) the same thing happens. The login form goes back and forth from "you’re logged in" to "log in" depending on whether I get access to the page.

    This seems like a cookie problem to me. I log in, but the browser doesn’t recognise that I am so off I go to the 401 page. If I hit he back button and clicked on the link again, many times I got through and sometimes I didn’t .

    I thoroughly tested this process before going live and wasn’t having any problems at all.

    Anybody got any ideas?

    Thanks! ~Jules
      • 3647
      • 177 Posts
      Hi Jules

      Shot in the dark but, when you say ’just’ launched, have you closed the browser and opened again, or deleted temporary files just in case this is a cookie caching problem.

      Mark
        • 22840
        • 1,572 Posts
        As above and also clear the site cache in the manager
          • 4041
          • 788 Posts
          You might also check to ensure the login snippets are being called uncached [! !] and perhaps the cached status of the page itself may be a factor (I think they need to be uncached).
            xforum
            http://frsbuilders.net (under construction) forum for evolution