473,658 Members | 2,623 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

UrlReferrer Null

Objective

To get linking domain on an affiliate program, ie

linking site--->my site-->write cookie-->track visitor-->report to
affiliate

Current

from linking site http://merrows.co.uk?.....

But UrlReferrer is Null. I have a link from a different domain but it
is on my server. I am using Windows, C#, .NET

Request

Any details on linking and determining UrlReferrer. Is this an IIS
issue?

Nov 19 '05 #1
4 3058
Have you tried Request.ServerV ariables["HTTP_REFER ER"];

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Logician" <sa***@logician s.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
Objective

To get linking domain on an affiliate program, ie

linking site--->my site-->write cookie-->track visitor-->report to
affiliate

Current

from linking site http://merrows.co.uk?.....

But UrlReferrer is Null. I have a link from a different domain but it
is on my server. I am using Windows, C#, .NET

Request

Any details on linking and determining UrlReferrer. Is this an IIS
issue?

Nov 19 '05 #2

John Timney (ASP.NET MVP) wrote:
Have you tried Request.ServerV ariables["HTTP_REFER ER"];

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Logician" <sa***@logician s.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
Objective

To get linking domain on an affiliate program, ie

linking site--->my site-->write cookie-->track visitor-->report to
affiliate

Current

from linking site http://merrows.co.uk?.....

But UrlReferrer is Null. I have a link from a different domain but it
is on my server. I am using Windows, C#, .NET

Request

Any details on linking and determining UrlReferrer. Is this an IIS
issue?


That fails; I think it is a Norton problem which blocks the headers

Nov 19 '05 #3
Logician wrote:

John Timney (ASP.NET MVP) wrote:
Have you tried Request.ServerV ariables["HTTP_REFER ER"];

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Logician" <sa***@logician s.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
Objective

To get linking domain on an affiliate program, ie

linking site--->my site-->write cookie-->track visitor-->report to
affiliate

Current

from linking site http://merrows.co.uk?.....

But UrlReferrer is Null. I have a link from a different domain
but it is on my server. I am using Windows, C#, .NET

Request

Any details on linking and determining UrlReferrer. Is this an IIS
issue?


That fails; I think it is a Norton problem which blocks the headers


Both values should be identical anyway. But Referer is practically
useless for application purposes: Any proxy in between may remove it.

Cheers,
--
http://www.joergjooss.de
mailto:ne****** **@joergjooss.d e
Nov 19 '05 #4
you could always check the IP is not your own, and do a reverse dns lookup
which would give you the actual referrer.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Logician" <sa***@logician s.com> wrote in message
news:11******** *************@z 14g2000cwz.goog legroups.com...

John Timney (ASP.NET MVP) wrote:
Have you tried Request.ServerV ariables["HTTP_REFER ER"];

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Logician" <sa***@logician s.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
> Objective
>
> To get linking domain on an affiliate program, ie
>
> linking site--->my site-->write cookie-->track visitor-->report to
> affiliate
>
> Current
>
> from linking site http://merrows.co.uk?.....
>
> But UrlReferrer is Null. I have a link from a different domain but it
> is on my server. I am using Windows, C#, .NET
>
> Request
>
> Any details on linking and determining UrlReferrer. Is this an IIS
> issue?
>


That fails; I think it is a Norton problem which blocks the headers

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3330
by: Jiong Feng | last post by:
Hi, Here is my problem: I created a try.htm on my server, which contains a link to the default.aspx page. if I use http://localhost/try.htm, and click the link, then in default.aspx, I could get the correct HttpContext.Current.Request.UrlReferrer. but if I use https://localhost/try.htm (my server could use https), and click the link, then in default.aspx, the correct HttpContext.Current.Request.UrlReferrer is null. Is that by design...
4
4181
by: Harley | last post by:
i have found a problem when using Request.UrlReferrer. if i call the page using a javascript function, the referrer is null... i need to call a page and open it on a specific browser size, with no toolbar, menu, etc. and also need to check that the call comes from a specific page. how to make request.UrlReferrer work?
7
28549
by: Ivan Demkovitch | last post by:
Hi! Here is what I'm doing: I have Login.aspx with code to do forms authentification and I have this line at the end: Response.Redirect(Request.UrlReferrer.ToString()); I have other (non-ASP.NET) pages that post to Login.aspx. THis way I accomplish asp.net authentification.
1
1796
by: John | last post by:
Hi, all - On Page1.aspx I have a button control that, when clicked, Response.Redirect("Page3.aspx"). On Page2.aspx I have a hyperlink to Page3.aspx. On Page3.aspx, I want to know which page the user came from. I tried UrlReferrer, but this only registers Page2.aspx (the hyperlink page). If the user comes from Page1.aspx (the button page), UrlReferrer is null.
3
3349
by: Oney | last post by:
I created two iss folder under my aspx project and I redirected each one of them to same aspx page by IIS that is test.aspx. on the page load of test.aspx I have to catch where the request come in! (what is the previous link or reqest) I try to use Httpcontex.Current.Request.UrlReferrer.AbsoluteUri but it returns null how can I solve this problem? any ideas ???
7
10751
by: Aaron Prohaska | last post by:
Has anyone had any experience with Nortan Antivirus causing problems when trying to use Request.UrlReferrer? I am seeing in the Nortan Antivirus log that its blocking my page from loading because of a "Privacy" problem. I don't understand why this is happening because the code should be compiled and run on the server and this problem is on a client machine. The only reason that I think its the Request.UrlReferrer is that if I comment out...
6
6354
by: saden_paki | last post by:
I am having this problem, that Request.UrlReferrer comes out to be Nothing, when a user hits a button on a html page which only have this button, on this button's onClick javascript event I have used location.href to redirect the page to an aspx page, there I try to extract the Request.UrlReferrer which comes out to be null.. When I used the mozilla based(firefox) I was able to get the Request.UrlReferrer info. is there anyway that I...
2
4864
by: ad | last post by:
I have tree web page A.ASPX, B.ASPX and CheckPW.aspx There is a button in A.ASPX, the click of that button is redirect to B.ASPX .. I write a Page_Load event in b.aspx, if the Session is null then redirect to CheckPW.aspx to check the password. There is a text box and button in CheckPW.aspx, I write an Click event in CheckPW.aspx: If password is correct
2
6819
by: deepak.bhardwaj | last post by:
Hi, I have implemented the IHttpHandler interface for generating images and writing them to response stream in binary format. I use an IHttpHandlerFactory to instantiate that handler. A .aspx page sends a request to the factory which then instantiates an instance of the handler. The response is read by a third party component that then displays the image. i.e. inside .aspx page:
0
8427
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8746
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7355
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6178
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4334
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2749
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.