What happens if you refresh the browser? How does the session variable compare to the non-session variable? What happens if you close the browser and start again?
http://www.w3schools.com/php/php_sessions.asp