[wp-hackers] Password protected post - how to require password everytime

Cassondra Johnson cas at absolutemg.com
Fri Nov 19 14:59:51 UTC 2010


> From: John Blackbourn <johnbillion+wp at gmail.com>
> Date: November 19, 2010 3:09:01 AM CST
> To: wp-hackers at lists.automattic.com
> Subject: Re: [wp-hackers] Password protected post - how to require password everytime
> Reply-To: wp-hackers at lists.automattic.com
> 
> 
> 2010/11/19 Pavel Hejn <pavelevap at post.cz>:
>> Hello,
>> 
>> this solution has one big problem - it is not possible to add comments to this post...
>> We deleted cookie, so we can not add comment to password protected post :-(
>> Anybody has any idea? Is there any simple possible solution?
>> Thank you very much for your help...
>> 
>> Pavel
> 
> You could try a plugin such as Logout of Password Protected Posts [1]
> and remind your users to log out if they're on a shared/public
> computer.
> 
> You could combine that with a shorter expiration time for the cookie
> (maybe an hour?).
> 
> [1] http://lud.icro.us/wordpress-plugin-logout-password-protected-posts/

Is there any other way to accomplish changing the expiration time for the cookie (preferably to 30 minutes or less)? Been searching for a solution, and I'd prefer not to hack core...

Cas


More information about the wp-hackers mailing list