I just started using sessions and am having some trouble understanding how
to pull values out of sessions to use in another page.

I set the values as:

session_start();
session_register{'magazine');
session_register('company');

The data is saved as a session because I can read the file located in my
/tmp directory.

Now I click on a link and go to a different page and I do:

session_start()

Magazine: <? echo $magazine; ?>

Company: <? echo $company; ?>

Should I be able to retrieve the values in this fashion? I'm using php
4.1.2. 

Thanks,

Ed


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

Reply via email to