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

Reply via email to