WordPress.org

Forums

Smart Passworded Pages
Cookie duration cannot be shortened (1 post)

  1. rcemory
    Member
    Posted 1 year ago #

    In smartpwpages.php, I changed the line for cookie duration to read
    define( 'SECONDS_TO_STORE_PW', 30); // 864000 = 10 Days

    This was an test to see if I could override the default 10 days to something on the order of 1 day. However, refreshing the page after a 1 minute wait still had the password stored in a cookie. Behavior was the same in Firefox 29 and IE 11.

    Any suggestions?

    https://wordpress.org/plugins/smart-passworded-pages/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Smart Passworded Pages
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags