Topic Closed
Mim Alef
14 Posts
Dear Stano,
I am using "password protected pages" plugin for members pages as "Log in". It works great! But I want to make a java script  "Log out" link (or button). When a member clicks on it, the cookies will be delete and the user goes out from his page for re entering his password.
Is it possible?


"I appreciate for your help"
Edited: 9 years ago#7038

jogai
264 Posts
Perfectly possible. Since jquery is already included I recommend using a jquery plugin like jquery-cookie
9 years ago#7039

Mim Alef
14 Posts

Could you please explain more about the usage of jquery-cookie?

How can i combine it with the "password protected plugin?"
Thank you

Edited: 9 years ago#7046

jogai
264 Posts

Include it and use

$.removeCookie('the_cookie');

Like it says in the documentation. Maybe give add some parameters to the call to make it work properly.

9 years ago#7056

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

Log In

  Register