Hi

Its been a long time since I had to get my hands dirty but....

it seems to test if the server variable HTTP_EVE has been set to no - if
so then it adds a custom header to the response called 'eve.trustMe'
which contains the text 
"http://your-site-name-here::Optional message" if it does not find this
header it loops through all the headers looking for one which contains
the string 'HTTP_EVE' and dumps the full name of the header if it finds
a match.

You might want to get someone else to double check as its been at least
3 years since I've done any asp.

HTH

Kola


>> -----Original Message-----
>> From: Lady Galadriel [mailto:[EMAIL PROTECTED]
>> Sent: 23 September 2003 08:33
>> To: [EMAIL PROTECTED]
>> Subject: [ cf-dev ] Convert Asp code snippet to Coldfusion
>> 
>> Hi Im converting a asp site to coldfusion
>> and the only bit i don't get is this bit of asp code that asks a
specific
>> browser to supply more details via the specific browser -
>> 
>> - can some one help me recode this in coldfusion ??
>> 
>> - sarah
>> 
>> 
>> <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
>> 
>> 
>> 
>> ---
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.518 / Virus Database: 316 - Release Date: 11/09/2003


-- 
** 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]

Reply via email to