how can I request and modify session variables using php?
Thanks
Marc
http://www.itnewschannel.com
session variables
Moderator: General Moderators
- aaronhall
- DevNet Resident
- Posts: 1040
- Joined: Tue Aug 13, 2002 5:10 pm
- Location: Back in Phoenix, missing the microbrews
- Contact:
Session variables are accessible through the session superglobal array $_SESSION
Before you start doing that, you need to initiate the session. Check out http://www.php.net/session.
Code: Select all
<?
$_SESSION['foo'] = "bar";
?>