RE:[newbie]session problem
| From: | Bobby Rahman | Date: | Tue, 18 Mar 2003 01:00:08 +0000 |
| Subject: | RE:[newbie]session problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-19040@lists.php.net to get a copy of this message | ||
Hiya,
Im running php4.2.3 on Win98 and apache 2.0.43.
I am having troubles passing variables from page to page.
I try to use:
session_start();
session_register("test");
when echo $test on a different page it seems to be empty
when not called from within the page originally created.
I have session_start() on every page at the start just under the php syntax <? and also register the variables which I want global.
I have edited the php.ini to set the session.save_path = "C:/windows/temp" and also have global variables set on
Any suggestions to what it may be as it doesnt seem to produce any errors.
Thanks
_________________________________________________________________
Express yourself with cool emoticons http://messenger.msn.co.uk