Yes, that indeed was a typo but only in my message above. It's not the problem with the script
Uzytkownik "Andre Dubuc" <[EMAIL PROTECTED]> napisal w wiadomosci news:[EMAIL PROTECTED] > Hi, > > Looking at your code, I noticed that either you're missing the closing double > quote to close off the Location expression, or you're ending it early with a > double quote at http://". > > Shouldn't it read: > > header("Location: http://' . $_SERVER['HTTP_HOST'] > ^ > . dirname($_SERVER['PHP_SELF']) > . '/b.php?'.SID'"); > ^^ > > Perhaps that's the problem. I'm no expert . . . > Hth, > Andre > > > On Friday 27 August 2004 07:47 am, gregosh wrote: > > > you sure the cookie is being set? try this > > > > > > header("Location: http://" . $_SERVER['HTTP_HOST'] > > > . dirname($_SERVER['PHP_SELF']) > > > . '/b.php?'.SID); > > > > I had tried this before - no result. The cookie is set in the \temp dir > > where it is intended. And that's where the other cookie with new session is > > located too. This really is a strange problem. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php