In testing code which works otherwise correctly within Edge, Firefox and Chrome.
The basic script is to log time spent on a specific article. As the page loads, a session variable is set with the datetime the page loaded and a separate one with the ID of the article, on the same page there is a javascript timer which fires an XHR request every 60 seconds to a page which looks at the session variables, and submits to the database every full minute that passes whilst the script is running.
In Internet explorer 11, if you browse to a document, the session is set and can be called on the page, yet when the XHR request is called the session variable is apparently empty.
However, if you browse to an alternate document, this proceeds to show the correct session variable.
Only on the first article visit does the session variable not transfer across to the XHR request.
I have tried checking the SessionID, this appears the same across all pages/requests.
I have tried pre-setting the session variable in the global.asa to make sure the variable container is there at session start, with no difference in behaviour.
I'm not sure where to go from here as this appears to be an IE 11 issue, but know for certain 99% of our users have issued laptops with IE11 as their default browser.
Any help or pointers would be valued.
In my particular case, studying the console and seeing that legacy js libraries, such as bootstrap, were calling for items which were not there. Since I have custom Error pages which run the same piece of code to close the timer (and reset the session cookie), the session variables I was looking for were being removed on the 404 page in the background.
This item is now solved.