[PHP] Re: Strange Session Problem

2004-07-03 Thread Jason Barnett
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 p

[PHP] Re: Strange Session Problem

2004-07-02 Thread Shaun
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: > > > class object {}; > > $CFG = new object; > > $CFG->dbhost = "localhost"; > $CFG->dbname = "x"; > $CFG->dbuser = "x"; >