← Tutti gli articoli

My ASP.NET site uses frames. I have a redirect problem in the session timeout.

07 June 2011  ·  Asp.Net · Article  ·  917 visite

The problem is that once the session times out (if the user hasn't yet closed the browser), the user is automatically redirected to the login screen (setup in Web.Config file), but this occurs for every frame.

<script>
 if (parent.frames.length > 0) {
 parent.location.href = self.document.location
 }
 </script>
 

Si è verificato un errore imprevisto. Ricarica

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.