RE: [PHP] Help Needed: Sessions
| From: | Craig Vincent | Date: | Wed, 16 Aug 2000 14:23:44 +0000 |
| Subject: | RE: [PHP] Help Needed: Sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12010@lists.php.net to get a copy of this message | ||
> First at all you have to do the session_start()/session_register() on
> every page (I do it in an include-file).
> Second, I also use 4.0.1pl2 and it works.
session_register() isn't required on every page. I currently have a five
page web application using sessions...I only use session_register() on
variables that appear for the first time on that particular page and then
never register those variables again....everything works fine (although the
session_start() is required unless the session auto_start has been activated
in the php.ini file)
Sincerely,
Craig Vincent
-------------------------
Senior Programmer
Jazzmonkey Media Inc.
http://www.jazzmonkey.com
-------------------------