• Hello!
    Is it correct, that there is no automatic logout? I think so, because I have used different users and found out, that when I login as “admin” and then login as another user it looks like as I am still logged in as “admin” (because after logout there you find the name “admin” in brackets). When I make a forced reload of the page it seems to be correct.
    Is it possible to have this reloads automatically forced or to logout an account after some minutes without activity?
    Jens

Viewing 9 replies - 1 through 9 (of 9 total)
  • i personally prefer staying logged in. i dont remember when i logged in to my blog backend. maybe never after the first login. but yes, a checkbox would be welcome and has been asked few times before…

    But surely if you stay logged in; the edit this; shows on all posts and allows the whole world to edit your posts?

    No, the edit this link only shows to you. No one else sees it unless they’re at your computer.

    So … is there any way to set up the code so that when you close your browser (after being logged in), that it will automatically log you out?

    One of the first things I did was go and shorten the life of the cookies used by WP to about one hour. This has the effect of logging me off after one hour.

    Go into the /wp-admin directory and search for “setcookie()” and change the number of seconds there to 3600 for one hour or whatever else you want.

    Regards

    In the /wp-admin directory and which file has the “setcookie()” ?

    Wow…. that has *got* to be a new record…. a dead thread comming back – TWICE!

    But to answer your question, start with the index.php, and go from there. See what files it opens, and look through them. It’ll be in one of the files somewhere. You may want to look at admin-functions.php – see if it’s in there.

    -tg

    Yikes..old thread. ?? There is actually a Cookie Timeout plugin now that you can install and not modify any code.

    Regards

    Thanks for the link. This is exactly what I was looking for!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘No automatic logout?’ is closed to new replies.