Yes I do use that to dectect the browser type
so i have both a normal web and this browser specific site -   but i also
need to
check a "trust"   ( HTTP_EVE.TRUSTED )   thats returned from the client
as they add sites to a "trust" list .. once the client returns "trust"
I then have access to other client vars -

( the below code .. asks for trust on first load of the site  and adds it to
the clients *trust list*)


- Paul


----- Original Message ----- 
From: "Snake Hollywood" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 20, 2003 8:36 PM
Subject: RE: [ cf-dev ] asp to cf


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


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