Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要跟踪从特定系统访问的所有 url。我认为它需要为此设置代理服务器。任何人都可以帮助我使用 c# 代码为基于 Windows 的应用程序设置代理服务器,然后我如何使用此代理获取访问过的 url。
例如,如果用户从 IE 访问 google.com、yahoo.com、fb.com 等,从任何其他浏览器访问 stackoverflow.com、orkut.com。然后我需要从我的客户端应用程序中跟踪所有这些 url。可能吗?
您可以使用
Request.ServerVariables["HTTP_REFERER"]
和
Request.UrlReferrer
这将为您提供以前访问过的网址。