Click here to Skip to main content
11,705,473 members (40,999 online)
Rate this: bad
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 0: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 at 19-Dec-12 12:49pm
Naveen_143 at 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
0 OriginalGriff 229
1 Sergey Alexandrovich Kryukov 136
2 ppolymorphe 68
3 Inimicos 60
4 ProgramFOX 50
0 OriginalGriff 9,053
1 Sergey Alexandrovich Kryukov 8,347
2 CPallini 5,189
3 Maciej Los 4,726
4 Mika Wendelius 3,626

Advertise | Privacy | Mobile
Web02 | 2.8.150819.1 | Last Updated 19 Dec 2012
Copyright © CodeProject, 1999-2015
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