G%D D$$A$^M I've solved it!!!!!
Are you familier with Allair's CF_INPUTFILTER TAG?
that suppose to remove all special chars from being set and sent???
<cf_inputFilter scopes="FORM,COOKIE,URL" chars="<,>,|,\,?," tags="ALL">
This thing has caused the cookie to be deleted.
I've removed the COOKIE scope and it worked.
god knows why did they put a cookie scope.
Thanks all!!!
BTW: this is the cf_inputfilter:
<cfparam name="attributes.scopes">
<cfparam name="attributes.chars" default="">
<cfparam name="attributes.tags" default="">
<cfscript>
reTags = "" ;
if ( attributes.tags eq "ALL" )
reTags = "<[^>]*>" ;
else if ( attributes.tags neq "" )
reTags = "</?(#ListChangeDelims(attributes.tags, '|', ',' )#)[^>]*>" ;
charList = '' ;
if ( attributes.chars neq "" ) {
charList = attributes.chars ;
for ( i=Len(attributes.chars)-1; i gte 1; i=i-1 )
charList = Insert( ",", charList, i ) ;
}
</cfscript>
<cfloop list="#attributes.scopes#" index="scopeName">
<cfif not findnocase("multipart/form-data",cgi.CONTENT_TYPE)>
<cfscript>
s = Evaluate( scopeName ) ;
for ( field in s )
if ( IsSimpleValue( s[field] ) ) {
if ( reTags neq '' )
s[field] = REReplace( s[field], reTags, "", "ALL" ) ;
if ( charList neq '' )
s[field] = ReplaceList( s[field], charList, "" ) ;
}
</cfscript>
</cfif>
</cfloop>
Michael
----- Original Message -----
From: "Patricia Lee" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 9:13 PM
Subject: RE: KILL THE COOK!
> Forgive me if this sounds silly....
>
> Are you using the correct attribute? There is no Timeout attribute to
> CFCOOKIE. it should be Expires:
>
> <cfcookie name="blah" default="yo baby" expires="never">
>
> Without an expires attribute, cfcookie creates a session cookie... meaning
> the browser never writes the info to the cookie file and the cookie never
> persists. If you have been using the (nonexistent) "timeout" attribute
> rather than the "expires" attribute, this would explain your behavior.
>
> Also, check your browser settings. Some browsers can be set to allow
> cookies to be recieved, but then never permanently set (though I have a
> feeling this might not be your problem).
>
> |-----Original Message-----
> |From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
> |Sent: Tuesday, June 05, 2001 12:41 PM
> |To: CF-Talk
> |Subject: KILL THE COOK!
> |
> |
> |Please try to look into this again.
> |this thread has been reviewd and partially answered by many
> |(actually 13
> |people)
> |but still - no answer. can anyone try to help out?
> |
> |> I'm getting really frustrated from this CFCOOKIE thing.
> |> Apparently, after I assign the cookie with Timeout="Never" the cookie
> |> is deleted and terminated every time the user closes the browser.
> |> I tried to change Timeout to 14 days, but it didn't help.
> |> Closing the browser terminates the cookie.
> |>
> |> Is there a diffrent way to assign cookies?
> |>
> |> PLEASE HELP!!!
> |>
> |> -=Michael.
> |>
> |
> |
> |
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists