Viewing 1 replies (of 1 total)
  • I have same problem

    I need expire session in 2 minutes!

    In my theme functions.php
    add_filter( ‘wp_session_expiration’, function() { return 60 * 2; } ); // Set expiration to 2 minutes

    My “session” variables never expires, until I destroy it in may logout function.

    What’s wrong?

Viewing 1 replies (of 1 total)
  • The topic ‘cookie expire time is not valid’ is closed to new replies.