What site the visitor has come from?

H

Hari

Hi,

How can I find out what site a visitor has come from using ASP?

Suppose my website is sample.com and I have one page in the website that is
used by the visitor to request products and demo. And on each request that
page will send email to webmaster with the URL of the site that the visitor
has come from. Like if the visitor will search in Google and click on the
link that will take him to the home page not the product request page, So I
think I need to store the URL in Session veriable when ever any user will
start the website.

So can any body give me some example how to do that?

Thanks
Hari
 
P

Prabhat

How can I find out what site a visitor has come from using ASP?

Suppose my website is sample.com and I have one page in the website that is
used by the visitor to request products and demo. And on each request that
page will send email to webmaster with the URL of the site that the visitor
has come from. Like if the visitor will search in Google and click on the
link that will take him to the home page not the product request page, So I
think I need to store the URL in Session veriable when ever any user will
start the website.

So can any body give me some example how to do that?

Thanks
Hari
Hi,

have a look into the post that I have posted in the same group with subject
"Use of HTTP_REFERER in Global.asa" and see if you can get anything. Also
today I have posted some link that I get today. Have a Look.

Thanks
Prabhat
 
B

Bullschmidt

<%= Request.ServerVariables("HTTP_REFERER") %>

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Classic ASP Design Tips, ASP Web Database Sample

<<
How can I find out what site a visitor has come from using ASP?

Suppose my website is sample.com and I have one page in the website that
is
used by the visitor to request products and demo. And on each request
that
page will send email to webmaster with the URL of the site that the
visitor
has come from. Like if the visitor will search in Google and click on
the
link that will take him to the home page not the product request page,
So I
think I need to store the URL in Session veriable when ever any user
will
start the website.

So can any body give me some example how to do that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top