Use session_start(); before assigning the value to $_SESSION;
Also not that IE doesn't play nice with setting session before header redirects. Instead use
aquilax
Junior Poster in Training
73 posts since Jul 2010
Reputation Points: 18
Solved Threads: 11