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
You need to put exit(); after your header redirection, otherwise you have just loaded two pages of content into 1 page.
exit();
Also make sure you have session_start(); at the top of all your scripts.
session_start();