House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 02, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

Where is cfcookie stored?

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Richard Steele
05/26/2008 07:44 PM

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!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Mike Chabot
05/26/2008 09:04 PM

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!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Barney Boisvert
05/26/2008 10:55 PM

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!

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
05/27/2008 12:45 AM

> 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!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Richard Steele
05/28/2008 11:34 AM

----- 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?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Robert Harrison
05/28/2008 11:41 AM

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 &.

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
05/28/2008 12:18 PM

> 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!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Robert Harrison
05/28/2008 12:46 PM

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!


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists