Click here to Skip to main content
12,691,097 members (30,901 online)
Rate this:
Please Sign up or sign in to vote.
Hello Friends,

I have a website(server-- ) present in one location.

Clients who are in different locations with different websites(, will have a link in their site, on clicking that link, they will be redirected one aspx page present in my server(

link they have is

href="">Click to Redirect

" Click to Redirect"

The redirection is happening properly.
All these are connected in WAN.

Now in my aspx page(myPage.aspx), I need to check from which client(I mean, from which website) that request came for redirection..

I am doing it in

I dont even know whether I framed the Question propery(in lot of confusion).

Kindly hlpe with this..

Posted 19-Dec-12 1:15am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You have to look for the referrer, which is the website from which the user arrived at your webpage. Have a look at these links:[^][^]

Google search - all results[^]
ProgramFOX 19-Dec-12 12:49pm
Naveen_143 20-Dec-12 7:56am
Hi Karthik, Thanks a lot ... that's a perfect solutions I am searching for..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170117.1 | Last Updated 19 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100