Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I check for the site that transferred to my site?

Status
Not open for further replies.

mb224

Programmer
Oct 15, 2004
55
US
I have a .NET site say ( and another department ( have their own site .... (classic ASP)

Once a user has already been authenticated from SiteB .. I want them to be tansferred later to me site SiteA. Normally I already have authentication for SiteA if one is logging in directly to SiteA ........ but if one is coming in from SiteB .. I want to skip having them to log-in again ... so I cretaed a sub folder on SiteA that allows anonymous access .... but I want to restrict it only to when you are being transferred from SiteB ...

Is it the httpcontext object .. or something like that .. that I can check for the site that transferred to my site ... or how do I check?

Thanks
 
You can use the HTTP_REFERER ServerVariable


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top