Automatic Logout

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jsuarez
    New Member
    • Jul 2002
    • 9

    Automatic Logout

    How can I have a session automatically logout after x amount of minutes.

    My problem is that I have about 30 public pcs. Most of the time, they do not log off so they end up posting with another name. How can i have a session automatically log off after about 1 or 2 minutes.

    thanks
    Last edited by jsuarez; Fri 13 Sep '02, 8:38am.
  • Scott MacVicar
    Former vBulletin Developer
    • Dec 2000
    • 13286

    #2
    You need to stop people from getting their browser to remember passwords.

    You will have to remove the entry from the modifyoptions, registeradult and registercoppa templates, and then run the following SQL query.

    UPDATE user SET cookieuser=0;

    It will then rely on the cookietimeout set in the control panel which is 15 mins then they will be logged out.
    Scott MacVicar

    My Blog | Twitter

    Comment

    • jsuarez
      New Member
      • Jul 2002
      • 9

      #3
      what entry do i have to remove from modifyoptions, registeradult and registercoppa templates? Also where exactly do i run the or type in the SQL statement too?

      thanks

      Comment

      • Scott MacVicar
        Former vBulletin Developer
        • Dec 2000
        • 13286

        #4
        your removing the html which contains the table row for that option.

        I cant remember offhand what it looks like and you run that sql query in phpmyadmin available from http://www.phpmyadmin.net
        Scott MacVicar

        My Blog | Twitter

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...