Title: Javascript function to reset the login status
Last modified: January 23, 2018

---

# Javascript function to reset the login status

 *  [skeleinad](https://wordpress.org/support/users/skeleinad/)
 * (@skeleinad)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/javascript-function-to-reset-the-login-status/)
 * Is it possible to log out an user from the site? (Even with a little script written
   by me)
 * f.e.
    -An user knows the password and logs in; -The user goes into a page named“
   X”; -The site does the logoff of the user after entering in the “X” page; -To
   enter in a “Y” page the user has to write the password again.

The topic ‘Javascript function to reset the login status’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/hide-my-site_979da4.svg)
 * [Hide My Site](https://wordpress.org/plugins/hide-my-site/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hide-my-site/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hide-my-site/)
 * [Active Topics](https://wordpress.org/support/plugin/hide-my-site/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hide-my-site/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hide-my-site/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [skeleinad](https://wordpress.org/support/users/skeleinad/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/javascript-function-to-reset-the-login-status/)
 * Status: not resolved