470,831 Members | 1,407 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,831 developers. It's quick & easy.

Redirect problem in IE7

I have the AcquireRequestState code listed below in Global.asax, to
redirect users to the login page when a sesions expires.

This works like a charm in Firefox. But in Internet Explorer 7, the
following error message gets displayed: "Internet Explorer cannot
display the webpage. Most likely causes: You are not connected to
the Internet. The website is encountering problems. There might be a
typing error in the address." If I then click the refresh button, the
login page finally does get displayed.

Any ideas on why IE7 seems to have a problem doing an immediate
redirect to the login page?

The code in Global.asax:

Protected Sub Application_AcquireRequestState(ByVal sender As Object,
ByVal e As System.EventArgs)
If Session.IsNewSession Then
If User.Identity.IsAuthenticated Then

end if
End If
End Sub
Oct 20 '08 #1
0 1134

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Bob Garbados | last post: by
3 posts views Thread by Paul | last post: by
7 posts views Thread by Donna Hawkins | last post: by
1 post views Thread by Peter Kirk | last post: by
2 posts views Thread by Mark Dengler | last post: by
3 posts views Thread by Justin | last post: by
6 posts views Thread by Sam | last post: by
6 posts views Thread by Peter Row | last post: by
10 posts views Thread by Eirik Eldorsen | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.