W
Wang
Suppose I have three pages A.aspx, B.aspx, and C.aspx.
A and B each have a hyperlink that opens C. The hyperlink is identical on A
and B, and has no querystring parameters.
The user opens A.
The user then clicks the link to open C.
When C is opened, how can it "know" it was opened from A and not B? I need
for logic in page C's code-behind/Page_load() event to take different action
based on which page C was opened from (A or B or any other page in the
application.
Please note that I cannot hard-code or even table-drive a querystring
parameter into the hyperlink on each page that would provide this
information.
Thanks!
A and B each have a hyperlink that opens C. The hyperlink is identical on A
and B, and has no querystring parameters.
The user opens A.
The user then clicks the link to open C.
When C is opened, how can it "know" it was opened from A and not B? I need
for logic in page C's code-behind/Page_load() event to take different action
based on which page C was opened from (A or B or any other page in the
application.
Please note that I cannot hard-code or even table-drive a querystring
parameter into the hyperlink on each page that would provide this
information.
Thanks!