473,390 Members | 1,406 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,390 software developers and data experts.

refering URL

Hi,

Can anyone tell me how to grab the refering URL of a visitor to my site from
another site ( I have tried Request.ServerVariables (HTTP_referer) which
returns a blank value, although it seems to work fine for pages within my
site)

Thanks

Hugh
May 31 '06 #1
2 1539
it is <%= Request.ServerVariables("HTTP_REFERER") %>

and sometimes it will be blank depending on what is going on


"hugh welford" <hu**********@btinternet.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Hi,

Can anyone tell me how to grab the refering URL of a visitor to my site
from another site ( I have tried Request.ServerVariables (HTTP_referer)
which returns a blank value, although it seems to work fine for pages
within my site)

Thanks

Hugh

May 31 '06 #2
OK Kyle, thanks

Hugh
"Kyle Peterson" <ky*****@hotmail.com> wrote in message
news:e3**************@TK2MSFTNGP03.phx.gbl...
it is <%= Request.ServerVariables("HTTP_REFERER") %>

and sometimes it will be blank depending on what is going on


"hugh welford" <hu**********@btinternet.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Hi,

Can anyone tell me how to grab the refering URL of a visitor to my site
from another site ( I have tried Request.ServerVariables (HTTP_referer)
which returns a blank value, although it seems to work fine for pages
within my site)

Thanks

Hugh


May 31 '06 #3

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

Similar topics

5
by: Rajan Moorjaney | last post by:
Hello, I know that I can get the refering URL using Request.ServerVariables("HTTP_REFERER") but how can I get the URL if the page no longer exists and so is being redirected to '404 File not...
1
by: Dotnetjunky | last post by:
Hi, If we reference a COM component directly in VS.NET, VS.NET will create a ..dll file in our application folder. Is this .dll file the same as if we would use tlbimport.exe to create the RCW...
1
by: dkalsow | last post by:
Good Morning, I have a text box called txtbox1. Is there a way I can refer to it sorta like. dim intI as integer = 1 me.txtbox & intI = "testing" Thanks in advance!
2
by: Dave | last post by:
Hello, template <class T> class weak_ptr { weak_ptr(weak_ptr const &r); }; In the code above, a parameter of type weak_ptr is declared. How is this possible? weak_ptr is not a type, it's...
6
by: news.versatel.de | last post by:
Hello NG, I am using javascript to open a new window like this: printpreview=window.open('printview.php','printprev','width=600,height=600'); The new window has a layer called preview: ...
4
by: Ajay | last post by:
Hi , in following code I want to use the sequence object in function but it gives the error can anyone suggest the modification to it . CREATE FUNCTION test.test_FUN01() RETURNS TABLE (
5
by: Rick | last post by:
Hi, Another question for today, it's about structs refering to each other. I tried this code struct List; struct child { struct List parent; };
1
by: Sarwan | last post by:
Hello everybody I have a solution in which there is an unmanaged MFC application. Then i added a new managed .Net Windows Form application. I was trying to refer an header file of unmanaged...
1
by: aamirvip | last post by:
hi any one can tell me, how can i determine refering URL. suupose, i have links exchaned with other web sites and i want to set the links from these on top which URL send me more traffice. how...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.