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 

Reply via email to