开发者

Classic ASP. Where a user is coming from?

One certain page of my mobile开发者_StackOverflow社区 website, I want to it so that when the users come to a certain page with a form on it part of the form will be filled out for them depending on what page they came from. How can i do this?


You're looking for the Referer header.
However, you cannot rely on this header to exist or be correct.

Instead, you can put a parameter in the query string in each of the source pages.


Request.ServerVariables("HTTP_REFERER")
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜