When I use php header redirection all session variables are lost... Some people say that adding exit(); just after the header(\"\"); will solve the problem but it doesn\'t s
Simples! make sure the page you are coming from (e.g. www.example.com) redirects to a (eg.g www.example.com/redirect.php) notice www at the beginning. If you change that from page to page, then yes things get wonky.