开发者

Check from where an ASP.Net page in my application was opened?

Searched everywhere but couldn't find anything.

My question is: is it possible to programmatically determine the add开发者_如何学Goress of the site from where a page in my ASP.Net application was opened (either from client code or server code)?

Suppose i have a big job board application, some of the jobs are listed in Google. How can one tell if the page was opened directly from the application, or from an external source like search engines/ etc (i.e. did someone click a link in Google and got here?).

Thanks!


You're looking for

Request.ServerVariables["HTTP_REFERER"]
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜