redirection

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
 
T

Tee

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
 
A

Andrew Jones

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top