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")
精彩评论