Name the PHP Session cookie something unique for each SFIAB to reduce the possibility of SESSION variable collisions between multiple SFIAB's running under the same domain

This commit is contained in:
james 2007-11-15 18:34:41 +00:00
parent cb23d603f3
commit 3a75f58f41

View File

@ -180,6 +180,7 @@ while($r=mysql_fetch_object($q))
require_once("committee_auth.php");
session_name("SFIABSESSID".ereg_replace("[^A-Za-z]","_",$config['SFIABDIRECTORY']));
session_set_cookie_params(0,$config['SFIABDIRECTORY']);
session_start();