|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Where is cfcookie stored?
I've looked in C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files, however I can't find the file where the cookie stored. Please advise. Thanks!Richard Steele 05/26/08 07:44 P It might be stored in RAM until the browser is closed, at which pointMike Chabot 05/26/08 09:04 P If you just want to view the contents of your cookies, the webBarney Boisvert 05/26/08 10:55 P > I've looked in C:\Documents and Settings\Administrator\LocalDave Watts 05/27/08 12:45 A >> I've looked in C:\Documents and Settings\Administrator\LocalRichard Steele 05/28/08 11:34 A For which browser? Cookies are stored by browser.Robert Harrison 05/28/08 11:41 A > Hmmm.... So if a cfcookie is used for a shopping cart id, andDave Watts 05/28/08 12:18 P If you are using a data base for client variables they also work well forRobert Harrison 05/28/08 12:46 P I've looked in C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files, however I can't find the file where the cookie stored. Please advise. Thanks! It might be stored in RAM until the browser is closed, at which point a persistent cookie would be written to the disk. -Mike Chabot On Mon, May 26, 2008 at 7:42 PM, Richard Steele <rick@photoeye.com> wrote: > I've looked in C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files, however I can't find the file where the cookie stored. Please advise. Thanks! If you just want to view the contents of your cookies, the web developer toolbar for Firefox has a cookie browser. There are similar tools for IE, though I can't recall any names as it's been years since I've used them. cheers, barneyb On Mon, May 26, 2008 at 4:42 PM, Richard Steele <rick@photoeye.com> wrote: > I've looked in C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files, however I can't find the file where the cookie stored. Please advise. Thanks! > I've looked in C:\Documents and Settings\Administrator\Local > Settings\Temporary Internet Files, however I can't find the > file where the cookie stored. Please advise. Thanks! Unless you specified an EXPIRES attribute, CFCOOKIE creates a session cookie which isn't written to disk. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ----- Excess quoted text cut - see Original Post for more ----- Hmmm.... So if a cfcookie is used for a shopping cart id, and the user's browser crashes, they lose their shopping cart? However if I use the expires attribute, it's written to disk immediately and thus preventing that scenario? For which browser? Cookies are stored by browser. Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. > Hmmm.... So if a cfcookie is used for a shopping cart id, and > the user's browser crashes, they lose their shopping cart? > However if I use the expires attribute, it's written to disk > immediately and thus preventing that scenario? Yes to both questions. However, the likelihood of the user's browser crashing is probably lower than the likelihood that they won't accept persistent cookies. I would recommend the use of nonpersistent "session" cookies. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! If you are using a data base for client variables they also work well for shopping carts. If you're writing client variables to the registry... no no. I've used client variables for shopping carts with a simple CFID and that worked well. Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. > Hmmm.... So if a cfcookie is used for a shopping cart id, and > the user's browser crashes, they lose their shopping cart? > However if I use the expires attribute, it's written to disk > immediately and thus preventing that scenario? Yes to both questions. However, the likelihood of the user's browser crashing is probably lower than the likelihood that they won't accept persistent cookies. I would recommend the use of nonpersistent "session" cookies. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information!
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||