Re: CFMX 6.1 CFCOOKIE Question
Just an update that I have solved the issue. cfcookie name=TESTCOOKIE value=0 expires=#CreateTimeSpan(1,0,0,0)# No longer appears to function in CFMX 6.1 I had to change the format to reflect: cfcookie name = TESTCOOKIE value = 0 expires = 1 secure = no Where expires = 1 is 1 day rather than using the #CreateTimeSpan()# calculation for a 24 hour period. Just in case anyone else ever has coded their cookies in a similar fashion and upgrades to CFMX 6.1, then that solved our problem. Simon. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFMX 6.1 CFCOOKIE Question
Hi. I've been scratching my head and looking at the following problem: One of our sites that relies heavily on cookies was migrated from a previous version of Cold Fusion to a new server running CFMX 6.1 and the cookie functionality / tracking suddenly stopped working. On multiple machines running CF 4.5, CFMX 6.0 I have created a test page that writes a cookie using: cfcookie name=TESTCOOKIE value=0 expires=#CreateTimeSpan(1,0,0,0)# And it works just fine. I check my temporary internet folder and every time I load my test page, I see the cookie file get written. One of my dev servers has been upped to 6.1 as well and whereas before with a base install of CFMX, loading my test file it would write this cookie. Now it's upped to 6.1 it has ceased to write the cookie file to my temporary internet files too. I've searched the web. Read about Cookie problems if a CFLOCATION tag is used on the same page (it's not) and also applied the hotfix: ColdFusion MX 6.1: Hot fix for setting domain cookies with cfapplication ( Article 19060 ) Description: In ColdFusion MX 6.1, when using the cfapplication tag with the setDomainCookies attribute set to yes, the wrong domain may be set on multihomed servers. I didn't think it really applied to this scenario but applied the hotfix anyway and likewise after the hotfix the cookie file is still not being written. I've also read some similar problems here: http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=7threadid=384991highlight_key=ykeyword1=Cookie%20and%20MX Some of these questions date back to July 2002. I find it hard to believe a problem would still persist this long. Does anyone have any suggestions as to a possible solution? Thank you. Simon. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFCookie Question
I need to set a cookie with a name of WB-Pass.Apparantly CF 6 doesn't like the special character -.This works in CF5.Does anyone know a way to use CF to set the cookie or do I need to use _javascript_ or ASP. Thanks, Daron Smith [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFCookie Question
A dash is not a valid name character.I am guessing there is no way around this -- at least if you continue to use CFCOOKIE.Yes, you can use _javascript_ to set cookies.Any good _javascript_ resource will help you with this. -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 7:33 AM To: CF-Talk Subject: CFCookie Question I need to set a cookie with a name of WB-Pass.Apparantly CF 6 doesn't like the special character -.This works in CF5.Does anyone know a way to use CF to set the cookie or do I need to use _javascript_ or ASP. Thanks, Daron Smith [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFCOOKIE Question
Hi all, I am setting a cookie in CF that I would like to have expire in 8 hours from when it was originally set. Is there a way to actually set the expire option to a date including a time. If not and I set it for one day on the 7/21/2003 does it expire say on 7/22/2003 12:00:00 AM or 7/22/2003 11:59:00 PM. Basically what I am trying to say does it expire in the morning or the evening. Mario -Original Message- From: HOFLists [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 3:37 PM To: CF-Talk Subject: Re: CFID and CFTOKEN not working Are 100% sure that this is not a client issue? Can you examine the HTTP requests as returned by the browser and see if they have the cookies in place? Perhaps the server is on the browser's list of no cookie sites? If the browser is passing them up is their anything that could modify the request before the server sees it (load balancing software/hardware, SSL hardware, proxies, etc)? Another datapoint would be to add the CFTOKEN and CFID to the URL and see if they're maintained. Jim Davis -- Original Message -- From: Tim Soslow [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 22 Jul 2003 12:42:15 -0500 One server today cannot create new cookies. For old cookies or ones set by other servers, it respects the CFID and CFTOKEN. If you delete cookies and try again, the client variables are not preserved. When you look at the debug of subsequent page refreshes, the cookie variables show that the CFID is incrementing. It is never the same number. The CFTOKEN is also different with every page load. This is especially odd because it is only occuring on one server. Is anyone else having this problem? Any ideas for what is causing this? -Tim ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4