Can't you just use CF_USER_AGENT to detect the browser? Russ Michaels Macromedia/Allaire Certified ColdFusion Developer CFDeveloper The free resource and community for ColdFusion developer. http://www.cfdeveloper.co.uk
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 20 July 2003 10:18 > To: [EMAIL PROTECTED] > Subject: [ cf-dev ] asp to cf > > > Hi im not a big asp chappy :) > > but i need to replicate the following asp code in Cf > I thought it might be cgi var / server vars but that didnt > seem to quite work :) > > any help or ideas greatly apprciated > ( i assume the difficultly i am having is setting the "header > vars to scoped cf vars " > > The reason for this is to allow only a special browser to > connect to the site ( and verify the passed info is from only > that browser ) > and after that direct them to the area for that connection > > > <--- ASP CODE ---> > > If Request.ServerVariables("HTTP_EVE.TRUSTED")="no" Then > Response.AddHeader > "eve.trustMe","http://your-site-name-here::Optional message" > Response.Write(Request.ServerVariables("HTTP_EVE.TRUSTED")) > Else > For each VarName in Request.ServerVariables > If InStr((VarName),"HTTP_EVE") Then > Response.Write(VarName & " : " & > Request.ServerVariables(VarName) & "<br>") > End If > Next > End If > > - cheers Paul > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
