I have a site where sometimes, after the auto logoff, I’ll get a page that is just the html version of the page with no css. Anyone know what i can do to prevent this?
The site has following format: Side and top menu are html. rest is px file viewed through an iframe.
I have two issues. First is that sometimes the iframe logs out but i can still see the html parts as if I’m still logged in. I’d like to prevent that so that on logoff, the entire screen shows the login page, not just the iframe part. and sometimes, the entire page does show the logoff page.
Second is that sometimes, after the iframe only shows login page, the entire page looses its css styling causing the page lo look like in the image below. Its somewhat rare but does happen and i’d like to prevent it.
Here’s a simplified snippet of code below, its pretty standard HTML stuff.
After some thinking, i’m thinking that maybe the auto logoff causes the browser to loose access to the css file, which causes the page to loose its styling?