由买买提看人间百态

topics

全部话题 - 话题: pageb.aspx
(共0页)
a9
发帖数: 21638
1
来自主题: DotNet版 - Help!
最简单的:取Request.refer
比较麻烦的 在pageA里 加上Session["VisitedPageA"] = 1;
pageB里 if(Session["VisitedPageA"] != null && (int)Session["VisitedPageA"] =
= 1){
ffff
}
还有更麻烦点的,就是改link。比如
个随机,到b里去检查。 当然还是要用session的配合。以检查的确是从a来的,而不是
a->c->b
s******e
发帖数: 114
2
redirect pagaA to pageB
if pageA is really simple, then pagaA can be a html file. you simply modify
action attribute of form tag in pagaA.html to point to pagaB.aspx
if PagaA is really simple, then pagaA and pageB can be same, say pagaAB.aspx
, pagaA will be rendered in ispostback!=true block of PageAB.aspx.
if PagaA is not so simple(ie involve some postback processing), then In
pagaA.aspx, you can use server.transer to redirect to pagaB.aspx.
if PagaA is not so simple(ie involve some postback
(共0页)