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
exit; should be placed after header redirection or session_regenerate_id(true); can be used