Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged redirect



1 2 Next »
The problem is some times the redirect may kick you off to the next page before all the session variables have been saved. The true solution to lost session vars on redirect is to simply call session_write_close(); before setting the redirect header....
0 1220 posted 15 years ago by Wardy
3 721 posted 16 years ago by gbot
2 691 posted 16 years ago by smartalec
Parses the given path and creates a http redirect to that page.
1 829 posted 16 years ago by IanLewis
7 819 posted 17 years ago by gdonald
1 2 Next »