It appears that when I use sessions between pages, if I redirect from say, page1 to page2 with a "header('Location:...')" statement, it sets up a new session_id in page 2 and thus ignores all the $_SESSION array from page 1. It is as if I have two different sessions going, one for each page.
On the other hand, if I go from page 1 to page 2 with a link like "<a href="page2.php">Click</a>", then it works just fine. The session_id carries over from page 1 to page 2.
Question: In the first instance, am I doing something wrong? How can I make sessions work with redirect headers such that the session_id stays the same?
Any help or suggestions would be much appreciated. :queasy:
coachman