Click here to Skip to main content
15,867,780 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends,

I have a website(server--http://10.235.1.167:1000/ ) present in one location.

Clients who are in different locations with different websites(http://10.235.1.220:6001, http://10.235.1.245:9001/) will have a link in their site, on clicking that link, they will be redirected one aspx page present in my server(http://10.235.1.167:1000/).

link they have is

href="http://10.235.1.167:1000/myPage.aspx">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 VB.net.

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

Kindly hlpe with this..

Thanks.
Posted

1 solution

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:

http://forums.asp.net/t/331996.aspx/1[^]
http://stackoverflow.com/questions/4258217/getting-the-http-referrer-in-asp-net[^]

Google search - all results[^]
 
Share this answer
 
Comments
Thomas Daniels 19-Dec-12 12:49pm    
+5!
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900