When a session has timed out, and a user clicks on a link, they get a "404 page not found" error. My client has requested that if the user is not logged in, they get a "Session ended due to inactivity" page instead.
ThisWebServer.MakeErrorPage() is the place to customize the 404 response, but there's no SessionID available at that point, so I can't call _GetSessionLoggedIn in order to tell what to show.
Is there a way of doing this?