I’m not familiar with PHP session variables or how they work exactly, but I’m working on a site that has a mobile counterpart. On the mobile site (developed by another company)there’s a link to go to the full site that uses a URL ending in ‘?mobile=false’, and I’m just wondering how I can use that to allow mobile users to access the full site?
Share
Put something like this in your entry point:
Then you can check for
$_SESSION['ShowFullSite']afterwards, which will be set as long as the session lives.