title: PHP Mobile Detect
body: <p>I am writing a mobile detect script to use across multiple projects and I wanted to gage the community to see if you all can help me figure out the best way todo something.</p>
  
  <p>My mobile detect script works great and directs traffic as expected. The part I wanted to get my fellow programmers opinion on is the "override" feature. Allowing people to view the main site if they wish. My questions for you all, is how should I control the override? <strong>Should I use sessions to store the override variable or should I use cookies?</strong></p>
  
  <p>My first thought was sessions, but this script will be included across hundreds of locations and I am concerned about interference in the sessions with some of the projects. For instance, if one of the projects destroys the sessions for logging in and out a user, we will lose the "override" setting also.</p>
  
  <p>What are your thoughts?</p>