[PHP] session handling

2002-11-15 Thread Anjali Kaur
i want to access some variables generated in one page
in all the other pages, so i thought of using
$_SESSION.

what i did is :

in page1.php i do: 

   $temp = 'someValue';
   session_start();
   $_SESSION['abc'] = $temp;


in page2.php :

session_start();
echo($_SESSION['abc']);


but i am not able to get the value of abc.

please help me out. i went thru the documentation
online but cudnt grasp much as to where i am going
wrong.

thank you.
anjali.


__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] help me regarding redirecting a page

2002-09-08 Thread Anjali Kaur

hello,

i dont know how to redirect a page... i mean i want to
have the effect of submit button without clicking on
the submit button.

thank you
anjali

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php