RE: [PHP-WIN] still sessions
| From: | Charles P. Killmer | Date: | Fri, 04 Apr 2003 16:12:20 +0000 |
| Subject: | RE: [PHP-WIN] still sessions | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-19306@lists.php.net to get a copy of this message | ||
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:ifran@winegard.com]
Sent: Friday, April 04, 2003 10:05 AM
To: php-windows@lists.php.net
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