title: How to: persistent PHP session across subdomains
body: <blockquote>
  <p><strong>Possible Duplicate:</strong><br />
  <a href="https://stackoverflow.com/questions/348282/php-cookie-domain-subdomain-control">PHP: Cookie domain / subdomain control</a><br />
  <a href="https://stackoverflow.com/questions/644920/allow-php-sessions-to-carry-over-to-subdomains">Allow php sessions to carry over to subdomains</a></p>
  </blockquote>
  
  <h3>Important Info</h3>
  <ul>
  <li>The website consists of hundreds of subdomains &quot;example.domain.com&quot;</li>
  <li>Users logging into my site have the &quot;remember me&quot; feature</li>
  <li>Users can login from any subdomain (and they must be able to navigate through any subdomain with that session)</li>
  </ul>
  <h3>Problem</h3>
  <ul>
  <li>Currently, when a user connects through one subdomain, their session/cookie (whether they chose the cookie option) isn't recognized on other subdomains.</li>
  </ul>
  <h3>Question</h3>
  <ul>
  <li>What must be done for a user session to be persistent across all subdomains of domain.com? In other words, I don't want a user to have to login on each subdomain.</li>
  </ul>