Page renders HTML after session timeout and reload, then renders correctly after a second reload
If I leave my page long enough for the user login session to timeout, then reload the page, I get an HTML rendering of the page. Then if I reload it again, the page renders normally. It happens on at least two pages I have tested so far.
Firefox gives an engimatic error "SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data", but apart from that, nothing else. I don't know what it's looking at when it says "line 1".
Line 1 of the HTML itsef is:
<!DOCTYPE html>
Before I start deconstructing the page line by line till the error goes away, just wondering if anyone had come across any such thing before.
