in my web application Request.UrlReferrer is null. how can i set UrlReferrer ?
-
1possible duplicate of Request.UrlReferrer null!?KV Prajapati– KV Prajapati2011-02-15 09:47:43 +00:00Commented Feb 15, 2011 at 9:47
-
what do you need it for? IMO you better look for alternative way as the referrer is not stable to begin with.user447356– user4473562011-02-15 09:57:14 +00:00Commented Feb 15, 2011 at 9:57
Add a comment
|
2 Answers
You don't need to set the UrlReferrer. The referrrer is something that the browser sends to the server. This property is how you read what the browser sent as a referrer. For obvious reasons you cannot set what the browser sends you because your server does not control it.
Why do you want to set it anyway?