I use:
<cfif CGI.Http_Referer DOES NOT CONTAIN "Some Text">
<cflocation URL = "Elsewhere">
</cfif>
Russel Madere, Jr.
Web Developer
----- Original Message -----
From: Galileo-Interactive <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 04, 2000 3:45 AM
Subject: HTTP_REFERER
> Hi,
> I am trying to secure my application preventing users to access a page
> directly by typing the URL.
>
> I decided to code something like this :
>
> <cfif #GetFileFromPath(CGI.HTTP_REFERER)# IS NOT "something.cfm">
> <cflocation URL="index.cfm">
> </cfif>
>
> Am i Right ?
>
> Does this portion of code work with every server ?
>
> Thanks for your help !
>
> Francis.
>
>
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.