[Pugged] sessions in includes
ciapug@ciapug.org
ciapug@ciapug.org
Tue, 21 Jan 2003 16:50:50 -0000
Angie Tollerson <tollerson@alliancetechnologies.net> said:
> This one has stumped me, doesn't seem to be much help on the net for it.
> I have an index.php that includes a form.php. For some reason, the
> form.php cannot register session variables. I don't get an error, i just
> get null variables. But index.php registers them fine. I've tried
> registering the variables at the top of index.php and inside form.php
> and every other combination you can think of. Anyone know about this?
> I've found lots of posts on the net with other people having the same
> problem but no one has been ANSWERED yet. hehe. Thanks!
>
Are you sure you're not dealing with a globals issue? See the list of
warnings here:
http://www.php.net/manual/en/function.session-register.php
-dc