 <p>It looks that you have just many php scripts without one cetral that manage the other scripts. So you have to start every script with </p> <pre><code>&lt;?php session_start(); ... </code></pre> <p>Or the session will not work properly.</p>