I have done this million times, but it doesn't work. I declare the session variables like you said it, but the moment I go on the next page a new session is started instead of retrieving the old one.
I don't know if there is something in the php.ini file that I still need to set, but I am getting frustrated. The way you mentioned works fine if you have cookies enabled ( I mean if this is set in php.ini to 1's, but as you see I have both of those disabled) ; Whether to use cookies. session.use_cookies = 0 ; This option enables administrators to make their users invulnerable to ; attacks which involve passing session ids in URLs; defaults to 0. ; session.use_only_cookies = 0 But for reliability reason I don't want to use cookies whatsoever. "Charles P. Killmer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Set session values like this session_start(); $_SESSION["username"] = "sjohnson"; Get session values like this session_start(); echo $_SESSION["username"]; The $_SESSION MUST be uppercase. Charles Killmer -----Original Message----- From: Iggy [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 10:05 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] still sessions ok I have a very simply question to which I have not found a good answer yet. I have disabled cookie based sessions, i.e I pass the session Id through the URL. How do I access the variables and their data that are related to that session ID on subsequent pages? Thanx Iggy -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php