473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

referrer id

How can I learn where my visitor came from? I mean which site reffered
to my site? (Something called referrer id/ip)

Thanks in advance..

Evrim
Jul 19 '05 #1
5 3853
request.servervariables("http_referer")

it does always contain anything, especially if they typed in your URL

Brian

Jul 19 '05 #2
Gazing into my crystal ball I observed Brian Staff <brianstaff@[NoSpam]
compuserve.com> writing in news:VA.00000237.009925b5@bstaffw2k:
request.servervariables("http_referer")

it does always contain anything, especially if they typed in your URL

Brian


Also a good idea to include that in the logs for later analysis. With that
information being logged, you will also be able to see what search
phrases/keywords people are using to reach your site.

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
Jul 19 '05 #3
Thanks for your answers. My server doesn't allow me to access logs, so
I wrote a script that keeps track of my visitors, their ip numbers,
date, time and the page visited. When I added the string
(http_referer) to my logger script, it worked well with internal
links. But when I click on link leading to my site on external web
page, it gave me internal server error. What may be the problem? How
can I solve this?

Thanks in advance,

Evrim
Jul 19 '05 #4
Gazing into my crystal ball I observed me*****@adu.edu.tr (M. Evrim Demir)
writing in news:e3*************************@posting.google.co m:
Thanks for your answers. My server doesn't allow me to access logs, so
I wrote a script that keeps track of my visitors, their ip numbers,
date, time and the page visited. When I added the string
(http_referer) to my logger script, it worked well with internal
links. But when I click on link leading to my site on external web
page, it gave me internal server error. What may be the problem? How
can I solve this?

Thanks in advance,

Evrim


What error did it give you?

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
Jul 19 '05 #5
It was something like "Internal Server Error 500"

me*****@adu.edu.tr (M. Evrim Demir) wrote in message news:<e3*************************@posting.google.c om>...
Thanks for your answers. My server doesn't allow me to access logs, so
I wrote a script that keeps track of my visitors, their ip numbers,
date, time and the page visited. When I added the string
(http_referer) to my logger script, it worked well with internal
links. But when I click on link leading to my site on external web
page, it gave me internal server error. What may be the problem? How
can I solve this?

Thanks in advance,

Evrim

Jul 19 '05 #6

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

Similar topics

5
by: Ryann | last post by:
Hello. I had a strange entry in my referrer logs. The http-referrer reported that the user came from another site. But the file it claimed to come from a pdf file. I followed the link back and...
1
by: kuok benny | last post by:
Hi, I am trying to use the document.referrer to get the referrer of my home page. Occationally, I get the value of 'blockedReferrer'. Actually how this happen, how the client blocked the...
1
by: brett | last post by:
When I use this code: <select name="status" onChange = "location.href=this.options.value"> <option value="mypage.htm">Select View</option> </select> I don't have a referrer. When I click an...
9
by: Frances Del Rio | last post by:
if I put alert(document.referrer) in code of a file that was linked from another it returns blank... pls, need to get document.referrer, don't why it's not working... read up on oreilly, don't...
2
by: Goober | last post by:
I have to determine the document.referrer of the individual coming to my site. I want to send everyone not coming from one of those sites to an alternate location (The names below are just used as...
1
by: Mike Dee | last post by:
Hi All - I'm having a strange problem I'm wondering if anyone can shed some light on. When I use ASP or ASP.NET code to get the referrer information from the server side, it comes back as null. ...
2
by: Fernando Rodríguez | last post by:
Hi, Is there a way to turn the document.referrer string into a Location like object, so I can extrac the domain and other parts of it? Thansk
5
by: Nospam | last post by:
does anyone know if there is anything wrong with this code? <SCRIPT LANGUAGE="JavaScript">document.referrer.indexOf("http://www.example.com") != -1){ ...
1
by: Nospam | last post by:
I have a site http://www.example.com, and I want to link to an article on another site http://www.example2.com, how would I use the site http://www.example.com , as a referrer to the article on the...
10
by: Trev | last post by:
Hi all, I'm trying to create some javascript that will provide the user of the referring page, but if I do something like the following: <HTML> <HEAD> </HEAD> <BODY> <script>
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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...

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.