Why if I don't log out manually the session never expire?
There is something then I can set?
Thanks
Why if I don't log out manually the session never expire?
There is something then I can set?
Thanks
Set the following in LocalSettings.php to your likings:
2592000 seconds is the default, predefined in includes/DefaultSettings.php.Code:$wgCookieExpiration = 2592000;
The value is in seconds. So, the default cookie expiration is 30 days.
Steve G. Bjorg - Chief Architect
Did you check the MindTouch FAQ?
Found a bug? Report it.
Follow me on Twitter
Find us on IRC: irc.freenode.net #mindtouch
I don't have that line in LocalSettings.php. Is Correct?
Can I insert it? In which LocalSettings.php under C:\deki-hayes\web or C:\deki-hayes\web\config?
Thanks
Yes, you HAVE to insert it if you wanna change it.
Edit your C:\deki-hayes\web\LocalSettings.php, it's the one you were copying manually while installing Deki.
Just try it, Deki won't be biting.
Last edited by merktnichts; 08-19-2007 at 08:17 AM.
I insert the new line in LocalSettings.php but if I'm login, I close the browse and after a few minutes I open wiki-hayes I'm still login.
I what that if a user not log out the application close the section after a XX minutes.
Thanks for all support.
$wgCookieExpiration not be used because in WebServiceManagement.php there is a fix value:
setrawcookie(self:REAMTOKEN, $aToken, time() + 7*24*3600, $wgCookiePath, $wgCookieDomain);
In new realise 1.8.1d has be correnct?
Thanks
the d release has fixes for this issue - we are moving this value into the config table so the API and PHP both respect the same value. if it's not too important for you, i'd simply wait until we get the d release out.