We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3232
    • 380 Posts
    is it possible to create a simple log out link?

    Using the member check snipping i want to have a logout link render when a member is logged in but can’t find out what the href of this link should be.

    any help would be greatly appreciated.
      • 26435
      • 1,193 Posts
      <a href="[~[*id*]~]&service=logout" title="Logout">Logout</a>

      -sD-
      Dr. Scotty Delicious, DFPA.
        Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
        All of the above... in no specific order.


        I send pointless little messages
        • 3232
        • 380 Posts
        I’m afraid this isn’t working for me. It refreshes the page but does not log the user out.

        What could I be missing, the webloginpe snippet does not appear on every page, could this be the problem?
          • 26435
          • 1,193 Posts
          yes
          log into the manager and get the id of your login page. For this example we will say it is 79.

          change [~[*id*]~] to [~79~] (or whatever the ID of YOUR login page is.

          -sd-
          Dr. Scotty Delicious, DFPA.
            Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
            All of the above... in no specific order.


            I send pointless little messages