feature 2783: ability to disable ip address in the session id

git-svn-id: http://piwigo.org/svn/trunk@18850 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2012-11-01 09:18:03 +00:00
parent a715d83cad
commit 200f22e82b
2 changed files with 11 additions and 0 deletions
+4
View File
@@ -405,6 +405,10 @@ $conf['remember_me_length'] = 5184000;
// session_length : time of validity for normal session, in seconds.
$conf['session_length'] = 3600;
// session_use_ip_address: avoid session hijacking by using a part of the IP
// address
$conf['session_use_ip_address'] = true;
// +-----------------------------------------------------------------------+
// | debug/performance |
// +-----------------------------------------------------------------------+