hi, another question...
i'm trying to store some variables in the session, using $HTTP_SESSION_VARS. i've got this working with trivial examples so i know my server's set up to work that way. my problem is when i try to start using include files.
The structure i want is something like this:
page.php
->include startup.php (which sets up some constants, and session_start and session_register for the variables i want to share)
->include module1 (a bit of code which outputs some of the page)
->include module2 (a bit of code which outputs some more of the page)
i am setting the session variable in module1. if i read it back from HTTP_SESSION_VARS within module1, i get the value, so i know it's being set correctly. however, i try to read that value in module2, and i just get a blank - it thinks it's not set.
is the session not shared between these two files? is there something else i can do? i dont want to have to rely on cookies for this, and global variables would be a bit messy, i'd like to use the session object if possible.
help!!
david