Click here to Skip to main content
15,867,750 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,
This is my code
VB
Response.Redirect("../afterchangepassword.aspx", True)
                   Response.End()



after redirecting my page, i got exception in m page.

so what i have to do to resolve this

Thanks in advance

Velsamy
Posted

1 solution

You should write which exception you are getting.
here I am just guessing that you might have got ThreadAbortException[^] since you are using Response.End(). If so then you can refer following links :
How to Avoid Response.End() “Thread was being aborted” Exception during the Excel file download[^]
Alternative to Response.End()?[^]
http://support.microsoft.com/kb/312629[^]

Hope it helps :)
Good luck.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900