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.
session variables not staying
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Surprise! We've talked about it.. quite recently too. 
search.php?search_keywords=session_writ ... uthor=feyd
search.php?search_keywords=session_writ ... uthor=feyd