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.
人々が私のウェブサイトにアクセスしたときに、どのウェブサイトからアクセスしているかを知りたいです。たとえば、誰かが google.com や yahoo.com から来た、または誰かがメールやその他の場所から来たとしましょう。これどうやってするの?
ASP.NET を使用していると仮定します。
Dim myReferrer As String = Request.UrlReferrer.ToString()
myReferrer には、参照ページの URL が含まれるようになりました。
HttpContext.Current.Request.UrlReferrerトリックを行う必要があります
HttpContext.Current.Request.UrlReferrer