[thelist] CGI & Cold Fusion

Raymond Camden jedimaster at macromedia.com
Thu Jan 31 12:43:00 CST 2002


I don't believe it's possible. You could always set a cookie on one page
and test it on another, but the user could fool you by then turning
their cookies off.

Do NOT do this:

<cfset cookie.foo = 1>
<cfif isDefined("cookie.foo")>

Since it will always be true, even if cookies are turned off. (However,
if you do the isdefined check on a separate request, it will return
false.)

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email    : jedimaster at macromedia.com
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org] On Behalf Of Matt Mozer
> Sent: Thursday, January 31, 2002 1:28 PM
> To: thelist at lists.evolt.org
> Subject: [thelist] CGI & Cold Fusion
>
>
> Does anyone know a cgi command i can use with Cold Fusion
> that can a test
> whether or not a clients browser has cookies enabled?
>
> Something like <cfif #cgi.cert_cookie# is "enabled" ... >
>
> Thank You
>
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>




More information about the thelist mailing list