Click here to Skip to main content
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 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 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 Sergey Alexandrovich Kryukov 535
1 OriginalGriff 275
2 Shweta N Mishra 244
3 Mathew Soji 225
4 BillWoodruff 220
0 OriginalGriff 6,153
1 Sergey Alexandrovich Kryukov 5,758
2 DamithSL 4,958
3 Manas Bhardwaj 4,539
4 Maciej Los 3,735

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