流星照亮加拿大的天空# Aviation - 航空航天
a*u
1 楼
【 以下文字转载自 DotNet 讨论区 】
发信人: apieceofyou (apieceofme), 信区: DotNet
标 题: Help!
发信站: BBS 未名空间站 (Fri Dec 30 19:08:00 2011, 美东)
I have 2 web pages, pageA and pageB.
There is a hyperlink in pageA to redirect user to pageB.
User must go to PageA and click on the link to pageB. If user visit pageB
directly, then a popup will display to warn user and redirect user back to
pageA.
My question is how to know if user open page by hyperlink or not?
The hints is to use session state and JavaScript.
But I still could not figure it out :( ...
Can someone help?
Thanks!!
发信人: apieceofyou (apieceofme), 信区: DotNet
标 题: Help!
发信站: BBS 未名空间站 (Fri Dec 30 19:08:00 2011, 美东)
I have 2 web pages, pageA and pageB.
There is a hyperlink in pageA to redirect user to pageB.
User must go to PageA and click on the link to pageB. If user visit pageB
directly, then a popup will display to warn user and redirect user back to
pageA.
My question is how to know if user open page by hyperlink or not?
The hints is to use session state and JavaScript.
But I still could not figure it out :( ...
Can someone help?
Thanks!!