← 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>