session variables not staying
Posted: Sun Aug 20, 2006 9:58 pm
Any idea why session variables that are set on one page would not hold when being redirected to another page?
The odd thing, is it was actually working last night.. now all of the sudden its not. Basically all I have is session_start() at the top of both pages, and $_SESSION['username'] assigned to a value (a static value i tried while testing)... when I do a header redirect to the next page, this variable is empty.
The odd thing, is it was actually working last night.. now all of the sudden its not. Basically all I have is session_start() at the top of both pages, and $_SESSION['username'] assigned to a value (a static value i tried while testing)... when I do a header redirect to the next page, this variable is empty.