When the header() is used to redirect a page is session information lost or changed?
I ask because I have a page redirect based on session variables. The session variable is set to another value the line prior to redirect.
Once redirected the value of the variable has reverted to the original value. I have tracked it at the assignment (echo immediately after assign) and echo immediately after session_start() on the page it is referred to.
Any help is appreciated since I need this value to stay the same at the redirected page to perform a certain action.