G
Guest
We have been running into some problems where using Response.Redirect causes
the page to hang and it never actually redirects.
Here's the scenario:
User opens the page, selects an item from the drop down list and then clicks
one of a couple of buttons to send them off to another page. We do a little
bit of validation in the Event Handler and then do a Response.Redirect off to
the next page. Then the page just sits there and never redirects over to the
new page. Sometimes this will happen on the first time the button is clicked
and if you click it again it will work. And then other times things work
fine for a few clicks and then it stalls. I put in some code to write to the
event log when the Event Handler runs but before the Response.Redirect and
this code is being fired and the event is written but the page just doesn't
redirect. The server is running Server 2003 with the 2.0 Framework
installed. The website does use integrated security.
This appears to be an IE only thing because if I run the site using firefox,
there aren't any problems.
We haven't been able to duplicate these Hang's on our local development
machines (XP Pro, Visual Studio 2005, .Net Framework 2.0 app)
I've seen some other postings that said that the "Smart Navigation" setting
was the culprit but I can't find any evidence of "Smart Navigation" code in
the source of the page (but I might not be looking at the right thing).
Has anyone else seen this?
the page to hang and it never actually redirects.
Here's the scenario:
User opens the page, selects an item from the drop down list and then clicks
one of a couple of buttons to send them off to another page. We do a little
bit of validation in the Event Handler and then do a Response.Redirect off to
the next page. Then the page just sits there and never redirects over to the
new page. Sometimes this will happen on the first time the button is clicked
and if you click it again it will work. And then other times things work
fine for a few clicks and then it stalls. I put in some code to write to the
event log when the Event Handler runs but before the Response.Redirect and
this code is being fired and the event is written but the page just doesn't
redirect. The server is running Server 2003 with the 2.0 Framework
installed. The website does use integrated security.
This appears to be an IE only thing because if I run the site using firefox,
there aren't any problems.
We haven't been able to duplicate these Hang's on our local development
machines (XP Pro, Visual Studio 2005, .Net Framework 2.0 app)
I've seen some other postings that said that the "Smart Navigation" setting
was the culprit but I can't find any evidence of "Smart Navigation" code in
the source of the page (but I might not be looking at the right thing).
Has anyone else seen this?