J
John
Hi, all -
On Page1.aspx I have a button control that, when clicked,
Response.Redirect("Page3.aspx"). On Page2.aspx I have a hyperlink to
Page3.aspx.
On Page3.aspx, I want to know which page the user came from. I tried
UrlReferrer, but this only registers Page2.aspx (the hyperlink page). If the
user comes from Page1.aspx (the button page), UrlReferrer is null.
What's the best way to solve this? Should I pass the previous page as a
QueryString? Thanks in advance!
- John
On Page1.aspx I have a button control that, when clicked,
Response.Redirect("Page3.aspx"). On Page2.aspx I have a hyperlink to
Page3.aspx.
On Page3.aspx, I want to know which page the user came from. I tried
UrlReferrer, but this only registers Page2.aspx (the hyperlink page). If the
user comes from Page1.aspx (the button page), UrlReferrer is null.
What's the best way to solve this? Should I pass the previous page as a
QueryString? Thanks in advance!
- John