A
ad
I have tree web page A.ASPX, B.ASPX and CheckPW.aspx
There is a button in A.ASPX, the click of that button is redirect to B.ASPX
..
I write a Page_Load event in b.aspx, if the Session["PasswordChecked"] is
null then redirect to CheckPW.aspx to check the password.
There is a text box and button in CheckPW.aspx, I write an Click event in
CheckPW.aspx:
If password is correct
{
redirect to (Request.UrlReferrer)
}
I thought the CheckPW.aspx will redirect to B.ASPX, but it redirect to
A.ASPX.
What's the problem?
There is a button in A.ASPX, the click of that button is redirect to B.ASPX
..
I write a Page_Load event in b.aspx, if the Session["PasswordChecked"] is
null then redirect to CheckPW.aspx to check the password.
There is a text box and button in CheckPW.aspx, I write an Click event in
CheckPW.aspx:
If password is correct
{
redirect to (Request.UrlReferrer)
}
I thought the CheckPW.aspx will redirect to B.ASPX, but it redirect to
A.ASPX.
What's the problem?