Hi Jari,
There is no "connection to the web site".
The pattern is
"connect, request, response, disconnect".
>> I have a website that automatically updates information.
I'm not sure what you mean by this. Perhaps you want to elaborate? Like are you using web sockets? Timers? User refreshes page?
>> If the connection to the web server is interrupted for some reason (e.g., due to an update), I would like the login page to appear.
So the web server is down, because you are doing an update? In that case you can't go to the login page because, well, the web server is down.
If the server is down, but is now up, and you used "save state" then the user won't notice and can continue as before.
I think you might want to include a lot more detail about this post because its really hard to give you useful information with so little context.
Also I presume you are on build 14.21? You didn't think to mention otherwise.
Bruce