2 diff link counts

Results 1 to 2 of 2

Thread: 2 diff link counts

  1. #1
    cheril Guest

    Default 2 diff link counts

    I have a website where I am counting the number of registrations in my site from the number of user ids present in my database.<BR>I am displaying this count on a webpage which can be only accessed by me.Now there is another site which has a link to my site & comes to the registration page of my site & user can also get registered from that link.<BR>But what I want to know is the count of users registered to my site coming directly from my home page & count of users registered to my site through the other site.<BR>Could you please let me know the logic or method for this query<BR>Thnk you for reading.<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: 2 diff link counts

    Check out Request.ServerVariables("HTTP_REFERER").<BR><BR>Th at value gives you the URL of the page that linked to or posted to your page. You can use the two different URLs you should see (your site and the other one) to distinguish where the registration came from and then add that as a field in your DB.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts