Request.UrlReferrer null?

前端 未结 4 562
时光说笑
时光说笑 2020-11-27 06:53

In an aspx C#.NET page (I am running framework v3.5), I need to know where the user came from since they cannot view pages without logging in. If I have page A

4条回答
  •  离开以前
    2020-11-27 07:12

    The problem could be related on how you redirect the user to some other page. Anyways, the referer url is nothing you should take as absolute rule - a client can fake it easily.

提交回复
热议问题