2012年3月10日 - You need make sure to start the session at the top of every PHP file where you want to use the $_SESSION superglobal. Like this:
stackoverflow.com