Response.Redirect threading error?

D

Doogie

Hi, I am trying to go from one asp page to another with the code
below:


For Each tripToAccept As String In tripsToAccept.Split("/"c)
dataManager.UpdateTripDetail("Accept", CInt(tripToAccept),
Hiduser.Value)
Next

Response.Redirect("TripAcceptReject.aspx")

When I do so, I get the following error: "Thread was being aborted".

What would cause an error like this?
 
S

Steve C. Orr [MCSD, MVP, CSM, ASP Insider]

Use Response.Redirect's second (optional) parameter (a Boolean) to toggle
this standard error on and off.
 
D

Doogie

Use Response.Redirect's second (optional) parameter (a Boolean) to toggle
this standard error on and off.

This did work, kind of. The error went away, but the page I'm trying
to redirect to never came up??
 
D

Doogie

Could my problem have something to do with the fact that the page that
I'm trying to redirect to appears to be a modal page?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,154
Members
46,702
Latest member
LukasConde

Latest Threads

Top