Title: Bug with protected posts
Last modified: August 31, 2016

---

# Bug with protected posts

 *  [darkwarrior92](https://wordpress.org/support/users/darkwarrior92/)
 * (@darkwarrior92)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/bug-with-protected-posts/)
 * I don’t know why is this happening, but when i set some post to be password protected,
   and after i open that post, first time it asks for password, but every other 
   time when i refresh page it says “Protected”, but i can see all content, and 
   it’s not asking again for password…

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/bug-with-protected-posts/#post-7143992)
 * It won’t ask for a password the second time, that’s intentional, access to the
   private post/page is stored in a browser cookie.
 * Once a viewer enter a password to view the private post/page, they don’t have
   to enter the password again until the cookie expires in 2 weeks or they clear
   their browser’s cookies.
 *  Thread Starter [darkwarrior92](https://wordpress.org/support/users/darkwarrior92/)
 * (@darkwarrior92)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/bug-with-protected-posts/#post-7143998)
 * That’s kinda bad, isn’t it? If i want to access some protected post on a public
   computer, and there is some information, or file that only certain peoples should
   have access, and if after me everyone can access that post from that computer,
   a word “Protected” loses a point…. Is there any way i can set it to asks for 
   password every time??
 *  [MarkRH](https://wordpress.org/support/users/markrh/)
 * (@markrh)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/bug-with-protected-posts/#post-7144016)
 * Well, could just not set/create the cookie after the username/password has been
   verified or make the expiration date of the cookie to be in the past.
 * There might be some plugin that allows better control over cookies.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/bug-with-protected-posts/#post-7144122)
 * This is probably what you’re looking for: [https://wordpress.org/plugins/password-protection-expiration/](https://wordpress.org/plugins/password-protection-expiration/)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Bug with protected posts’ is closed to new replies.

## Tags

 * [password](https://wordpress.org/support/topic-tag/password/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [protected](https://wordpress.org/support/topic-tag/protected/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/bug-with-protected-posts/#post-7144122)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
