We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Best way to adjust the cookie or session timeout of splash screen | Forum

dave Leader
dave May 8 '13

I was just curious about adjusting the cookie or session timeout of the splash screen, i saw this someplace in one of the files but i cant remember.   If i remember its set for 30 min but as i said i cant remember. 

 

Any idea what file its in so i can adjust it, does it use cookie or session, and do you know the current setting if it is session?

 

thanks ;)

dave Leader
dave May 8 '13

found it... function in ow_system_plugins/base/controllers/base_document.php

 

setcookie('splashScreen', 1, time() + 3600 * 24 * 30, '/'); 

 

 just changed the 3600 to 7200...

 

thanks

 

UPDATE i just did a double take of that which means that it should expire in 30 days but it does not for some reason, i know cookies can be a pain at times.

 

So i think what i will do is take out the *24 and *30 and just make it expire in 2 hours with the 7200..

The Forum post is edited by dave May 16 '13
Alia Team
Alia May 13 '13
Topic was moved from General Questions.