I'm having some problems trying to update an older version of PHP session handling
the code looks like this.....
PHP initial page:
unset($auth);
setcookie(session_name());
session_start();
session_destroy();
$auth=DBFetchRow($sql);
$auth["adtype"]=$adtype;
session_set_cookie_params(3600, "/");
session_start();
header("Location: blah blah blah);
And then on the next page:
unset($auth);
session_start();
The error I am getting looks like this:
Warning: session_start(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in http:mypage.auth.php on line 24
Does anyone know how to fix this problem????
Thanks so much!! : )