redirection

  • Thread starter Thread starter Andrew Jones
  • Start date Start date
A

Andrew Jones

I'm struggling with page redirection.
Here are the steps

1. forms authentication to authenticate user.
2. when system returns to base page I have the following code in Page_Load
if ( New Password Needed )
Response.Redirect("NewPass.aspx")
3. Problem lies in NewPass.aspx - How do I get back to default.aspx?
Response.Redirect("default.aspx") does nothing.

Thanks,

AJ
 
Hi AJ,

Try put a breakpoint at the line Response.Redirect("default.aspx") and see
if this line really got executed. If it didn't stop at the breakpoint, then
it is your program flow problem.

Thanks,
Tee
 
Thanks -

The Response.Redirect line is getting executed, but the newPass page is just
coming back up.

AJ
 

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

Back
Top