Hmmm.
I'm a little confused. I get the same error when I use a different script (different part of the system) which doesn't use the header and footer include files. The error says that header information has aleady been sent by one of the include files I do use.
But I don't send any header information all I do is invoke sessions.
The script which apparantly sends header information look slike this:
srand((double)microtime()*1000000);
$sess_id = md5(uniqid(rand()));
// Start Session
function sess_start($username) {
session_id($sess_id);
session_start();
session_register("USER");
$USER["username"] = $username;
}
// Kill Session
function sess_kill() {
session_close();
session_destroy();
}
Now as to whether my session code I'm not sure, but where is it getting this so called header information from?
Can I redirect any other way?