Click here to Skip to main content
15,905,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have got a web site say "www.abc.com". I am providing a link (www.abc.com/marketingpage.aspx) to another web site "www.xyz.com" to display my page in a iframe in their site. In the www.abc.com/marketingpage.aspx there is link to www.abc.com/registration.aspx page. Is there any way to find whether the user is coming to my www.abc.com/registration.aspx page from the www.xyz.com site and not directly through URL.
Posted

1 solution

SQL
Why dont you put a Query string as a uniqueId in www.abc.com/marketingpage.aspx?QS=3F2504E0-4F89-11D3-9A0C-0305E82C3301 and give the URL to www.xyz.com.

By this way you identify the site it is coming from.You have to map 3F2504E0-4F89-11D3-9A0C-0305E82C3301 to www.xyz.com
 
Share this answer
 
Comments
Roshin Narikkot 18-Sep-12 11:58am    
I accept the solution, but I dont want any other user to reuse the query string. (If any out side user take the URL and paste it on the Browser address bar). What I need is to confirm the previous page to the www.abc.com/registration.aspx page is a page from the www.xyz.com site.
Ashraff Ali Wahab 18-Sep-12 14:10pm    
Unless both abc.com and xyz.com share the same authentication model or atleast federated authentication,it will be virtually impossible to identify the source apart from the querystring.

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