> this code doesn't ouput a session-id. > is the code right? and if not, any suggestions what's wrong? > i'm new into sessions, so forgive me for stupid questions.. > thanx > michiel > > > <? > session_start (); > Header("Content-Type: text/html"); > echo "session id: " . $session_id; > ?>
Where do you think $session_id is coming from? If you want to get the current session id, use the session_id() function. scho "session id: " . session_id(); ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php