miniBB Support Forums | 15 years on The Web
miniBB ®


 | Forums | Register | Reply | Search | Statistics | Manual |
How To miniBB Support Forums / How To /   

Registered user logged-in duration?

Author Steve Shaw
#1 | Posted: 5 Oct 2013 12:55 
I'm using $allForumsReg=TRUE; so the whole forum is for registered users only.

But how do I set the duration that users remain logged-in?
Ideally I need it to be multiple days.

I can't seem to find a variable for this.



Author Paul
Lead Developer
#2 | Posted: 5 Oct 2013 14:20 
I guess you are about $cookie_expires setting from setup_options.php.

It needs to be set in seconds, so for example for 7 days (60 * 60 * 24 * 7 = 604800) it is:

$cookie_expires = 604800;

Author Steve Shaw
#3 | Posted: 6 Oct 2013 22:06 
Typical - I knew that!!!!

I can be such a dunce at times ;o(

How To miniBB Support Forums / How To /
 Registered user logged-in duration?
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.