Problem with duplicate sessions fixed. session_name() deleted
This commit is contained in:
parent
8487afe3a3
commit
6ac373cfa4
|
@ -42,7 +42,7 @@ if($action == "checklogin")
|
||||||
textdomain("lam");
|
textdomain("lam");
|
||||||
|
|
||||||
include("./main.php");
|
include("./main.php");
|
||||||
|
|
||||||
session_register("ldap"); // Register $ldap object in session
|
session_register("ldap"); // Register $ldap object in session
|
||||||
session_register("language"); // Register $language in session
|
session_register("language"); // Register $language in session
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@ if($action == "checklogin")
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Starting LDAP Account Manager session
|
// Starting LDAP Account Manager session
|
||||||
session_name("LDAP Account Manager");
|
//session_name("LDAP Account Manager");
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
session_register("config"); // Register $config object in session
|
session_register("config"); // Register $config object in session
|
||||||
|
|
Loading…
Reference in New Issue