//start the session - in all the pages
session_start();

//store it like that
$_SESSION["name"]= "Rinku"; 

//use it anywher like this
echo $_SESSION["name"];


----- Original Message ----- 
From: "Rinku Shivnani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 1:51 PM
Subject: [PHP-WIN] Require Session example


> Dear all,
> 
> I need session example. Can any of you send me some session 
> example in php pls. I wd be thankful to you.
> 
> 
> Regards,
> Rinku
> 
> -- 
> 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