Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refering Page?

Status
Not open for further replies.

Sheltered

Programmer
Nov 26, 2002
55
GB
Hi, i have created a hit counter which writes to a database, its very simple and so far records the date, time and ip address of each hit.

Can anyone shed some light on the code needed to find out the refering page? i.e. where the user came from to my hompage.

It has to work on IE4, not bothered about NS cause its for an intranet and everyone has IE4+.
Any help would be great.

Cheers
Pete
 
check on using server variables
there is a referer varaible that should give you the info you need _________________________________________________________
for the best results to your questions: FAQ333-2924
Is your question a most FAQ?? Find out here FAQ333-3048
 
Thanks for the speedy response Onpnt, i'll look it up. :O)

Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top