I have searched the web and this forum and havent really a concrete solution to this problem.
I have a script that stores some values in the _SESSION superglobal array. After that data is stored i then redirect to another page using the header() function.
Once you have been redirected to the next page, all my session data is erased. This same code worked before on a differnet machine, running a differnet version of php with reg_globals turned on.
I am running 4.3.3 on Irix. I have register globals turned off which is why im using _SESSION instead of session_register().
Is this a bug? Or is there something wrong with my code. I cam calling session_start before any of this.
I tried placing a call to exit on the line after the call to header(). This did not work.
Is their any solution to using header() redirects and sessions.
Thanks for any help!