Monday, March 26, 2012

Oirgin Page of a Redirect

Page1 and Page2 redirect to Page3. I want the content on Page3 to be regualated based on where the user has been redirected from.

How can i check on Page3 the oirgin of the user, the previous page? I could include something in the URL in Querystring form but want to leave that as a last resort.

Thanks

Try to put on Page1 a button set it's PostBackUrl to Page3 and on Page2 the same as the button on Page1. in this case, in Page3 you can use Page.PreviousPage

HC

0 comments:

Post a Comment