Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET HTML VB.NET
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 19-Dec-12 1:15am

1 solution

Rate this: bad
good
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:
 
http://forums.asp.net/t/331996.aspx/1[^]
http://stackoverflow.com/questions/4258217/getting-the-http-referrer-in-asp-net[^]
 
Google search - all results[^]
  Permalink  
Comments
ProgramFOX at 19-Dec-12 12:49pm
   
+5!
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 7,740
1 DamithSL 5,769
2 Sergey Alexandrovich Kryukov 5,424
3 Maciej Los 5,076
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web02 | 2.8.141223.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