Brooks, can you be more explicit about what you mean when you say that the cookie is "set to expire when the session closes"? Do you mean you're experiencing that the CF session is expiring when the browser closes, and you don't want that? If you have "Use J2EE Sessions" checked in the CF admin (from CF 6-8), that changes the cookie used for tracking sessions from CFID/CFTOKEN (which were indeed persistent for a very long time, to also support client vars) to instead use a JSessionID cookie, which is set with no expiration and therefore goes away with the browser close (depending on the browser and how you opened the window).
It can be helpful, when trying to decipher problems like this, to use a client-side proxy tool like Fiddler, Firebug, Charles, ServiceCapture, or others, so that you can watch for sure the cookies and their expirations coming to the browser from the server (and going back from the browser to the server). I offer links to those and others at the "HTTP Debugging Proxies" section of my "Tools to Consider for CFML developers (nearly 400 tools in more than 40 categories)", at: http://carehart.org/resourcelists/tools_to_consider/#proxy, ),. /charlie From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, March 14, 2008 2:51 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Cookies... Greetings: I'm using cookie with expires="never", but for some reason the cookie is set to expire when the session closes. Is there an <cfapplication> setting or a CF Administrator setting the sets a maximum expiration date for cookies? Sincerely, Brooks Wilson 640K ought to be enough for anybody. - Bill Gates (1981) ------------------------------------------------------------- Annual Sponsor - Figleaf Software <http://www.figleaf.com> To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink <http://www.fusionlink.com> ------------------------------------------------------------- ------------------------------------------------------------- Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------