WordPress.org

Ready to get started?Download WordPress

Forums

Better Post Protection (2 posts)

  1. ravijo
    Member
    Posted 8 years ago #

    I have made a site, and it's great, but I have placed some posts under password protection, which works... however even when a person logs out, the posts are still visible. There is no clear way to make it so they go back to being locked.

    So imagine, one of my users is checking the protected posts at a library computer, unlocks it, then leaves, everyone who checks the site from that computer is going to be able to see that post... not very secure. If I've missed anything, please let me know

  2. chaaban
    Member
    Posted 8 years ago #

    i dont know how wordpress deal with password issue , dident saw the code .

    But i suppose its just cookies or session issue .

    You can make a button to clear all sessions used .

    something like :
    <?
    session_start();
    // End the session
    session_destroy();
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags