SMF Support > SMF 2.0.x Support

Admin login time?

(1/2) > >>

Rivet:
Periodically, the board makes me re-login as an Admin.  Is there a way to adjust the time between required logins?  Thanks.

Arantor:
It's hourly. Why would you want to adjust the time, exactly? (As it's only forcing a re-login while you're in the admin panel)

Shambles:
For a longer or a shorter time?

I like the hourly "reminder" as it could prove useful should you leave your session unattended in the company of *ahem* undesirables. Obviously, that's not what you want.

However, you'll find the refresh code in a function called (I believe) validateSession in file Sources/security.php

Do yourself a favour, though, and leave it alone. Minds immeasurably superior to ours have thought this through and through, and decided that 3600 seconds is the right interval  8)


EDIT: ninja'd by a mind immeasurably superior to mine

Arantor:

--- Quote ---I like the hourly "reminder" as it could prove useful should you leave your session unattended in the company of *ahem* undesirables. Obviously, that's not what you want.
--- End quote ---

Well, that's not strictly it. If your session should be compromised, it gives some modicum of protection against someone doing something rather more insidious, because most things require the secondary session being set.


--- Quote ---However, you'll find the refresh code in a function called (I believe) validateSession
--- End quote ---

Yes, it's there. It's also possible to disable it entirely from the admin panel, as opposed to altering its length, and it's why I was asking what you were trying to achieve - I frequently turn it off on localhost installations (it's in Security Settings, IIRC) but I leave it on for production sites.


--- Quote ---EDIT: ninja'd by a mind immeasurably superior to mine
--- End quote ---

I wouldn't go that far ;) Here I am, brain the size of a planet... no, not even my ego can get away with that one ;)

Rivet:
Thanks for the replies.  Where would I find this in the admin panel?

Navigation

[0] Message Index

[#] Next page

Go to full version