> but when I use PHP's header("location: b.php"); expression a new session is
> created and the data from the previous one is lost. Anyone familiar with
> this problem? Any known solutions? It's been really driving me nuts!

you sure the cookie is being set?  try this

header("Location: http://"; . $_SERVER['HTTP_HOST']
                     . dirname($_SERVER['PHP_SELF'])
                     . '/b.php?'.SID);

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

Reply via email to