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 printing out the offending string? You might find it interesting. Check this out:
http://www.php.net/manual/en/language.types.string.php


Jason

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to