Hi. Since years ago in 8.1 I have used 2 of teh scriptcase session variables to help customize my code if on a mobile device:
// set the following - will be NULL is web and 1 if mobile
[glo_device_mobile] = $_SESSION[‘scriptcase’][‘device_mobile’];
[glo_display_mobile] = $_SESSION[‘scriptcase’][‘display_mobile’];
You can see these if you do an echo var_dump like:
echo var_dump($_SESSION); // gives all the scriptcase session variable values
A snippet of the output is as follows:
array(112) { [“scriptcase”]=> array(133) { [“device_mobile”]=> bool(false) [“display_mobile”]=> bool(true)
Are other people seeing this?
What a pain in the @$%$6%$!
Thanks,
Jamie