Title: Message

Keep in mind that this limitation doesn’t exist in CFMX.

 

**************************

Billy Cravens

Web and Software consulting

www.Architechx.com

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, November 18, 2002 3:39 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: Cf cookies

 

Are you doing a CFLOCATION on the page you are setting your cookie?  Just a guess, but if so, they are never actually being set.  Try using something like:

document.location.href=''; rather than CFLOCATION

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Ron Mast
Sent: Monday, November 18, 2002 11:54 AM
To: [EMAIL PROTECTED]
Subject: Cf cookies

Hi All,
I'm trying to set a cookie…looks like this:
<cfcookie name="TCCookie" Value="truth" Expires="never">

I want to do the following but I keep coming up with "TCCookie is not defined!" when I ran the above code:
<cfif IsDefined("cookie.TCCookie")>
        TCCookie is defined!
<cfelse>
        TCCookie is not defined!       
</cfif>

I have an application.cfm in my wwwroot:
<cfapplication name="colors" sessionmanagement="Yes" sessiontimeout="#CreateTimeSpan(0,0,20,0)#" setclientcookies="Yes">

Does anyone know what I'm doing wrong?  Thanks in advance.

Ron Mast
Truth Hardware
Webmaster
(507)444-4748

Reply via email to