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

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,151
Latest member
JaclynMarl
Top