I don't think your problem is with the sessions at all... rather, I
think you need to change the include command:
[snip]
include($CFG-usersdir); // ***This line causes session problems***
exit;
}
[/snip]
try changing this to:
[snip]
include($CFG-usersdir);
exit;
}
[/snip]
Ever tried
Ooops, sorry about the attempted fake URL!
Shaun [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have a config file which i include in every page:
snip
class object {};
$CFG = new object;
$CFG-dbhost = localhost;
$CFG-dbname = x;
$CFG-dbuser = x;
$CFG-dbpass = x;
2 matches
Mail list logo