How about a Logout button for passworded pages

  • 1
  • Question
  • Updated 7 years ago
  • Answered
Oh great Yola brain. . . . Can you add a "logout" button to clear the cache on a passworded page? If yes, how do you do it??
Photo of cjfpjam

cjfpjam

  • 5 Posts
  • 0 Reply Likes
  • hopefull and expectant!

Posted 7 years ago

  • 1
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Hello cjfpjam,

If this is possible, it would be a button to clear the cookie that's set when you login to the password protected page. I could create you a button to do this, but I would need to know the name of the cookie that's set, etc. If you post your URL and I can login and see the cookie that's set and then make you the button. Maybe you can temporarily change the password to "test" for your password protected page (NOT your Yola account, just the password protected page) or something so we can go in and get the cookie name that is set. Can you post your site's URL?

Kind regards,
Nathan
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Wow.. thanks Nathan for taking this on! I wouldn't know where to start! I look forward to seeing how this works!
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
No problem Sanja! :)
Photo of cjfpjam

cjfpjam

  • 5 Posts
  • 0 Reply Likes
how do i post the url?
Photo of cjfpjam

cjfpjam

  • 5 Posts
  • 0 Reply Likes
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Yeah that's the URL. Can you change the password to something like "test" temporarily and change the username if you would like to also? This way I'll be able to go onto it without knowing your current password/login. Once I can login through your password protected page I'll be able to look in my cookies, see what the names are of the cookies that are set when logged in, and then I will be able to create the button that will clear the cookie that is set.

Sincerely,
Nathan