Quantcast
Channel: What's the easiest way to stop WP from ever logging me out - WordPress Development Stack Exchange
Browsing latest articles
Browse All 4 View Live

Answer by Viper007Bond for What's the easiest way to stop WP from ever...

By default, the "Remember Me" checkbox makes you get remembered for 14 days. This is filterable though.This code will change that value:add_filter( 'auth_cookie_expiration',...

View Article



Answer by Annika Backstrom for What's the easiest way to stop WP from ever...

Does this work, if you place it in wp-config.php?function wp_validate_auth_cookie($cookie='',$scheme='') { return 1; // admin user id}Not thoroughly tested. It doesn't so much "never log me out" but...

View Article

Answer by curtismchale for What's the easiest way to stop WP from ever...

This has more to do with how you're browser stores cookies. When you login it should be saving the cookie and WordPress reads it to see if you're authenticated (at least that's what my understanind...

View Article

What's the easiest way to stop WP from ever logging me out

After a certain amount of time WP logs out all users and forces them to log back in again. For development environments on my local machine this is obnoxious and absolutely unnecessary.Is there an...

View Article
Browsing latest articles
Browse All 4 View Live


Latest Images