|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Where is cfcookie stored?
Author: Robert Harrison
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56521#306184
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!
Author: Dave Watts
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56521#306175
> 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!
Author: Robert Harrison
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56521#306162
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 &.
Author: Richard Steele
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56521#306157
----- 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?
Author: Dave Watts
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56521#306049
> 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!
Author: Barney Boisvert
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56521#306047
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
> 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!
Author: Mike Chabot
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56521#306046
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
> 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!
Author: Richard Steele
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56521#306042
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!
|
May 24, 2012
|
Latest Fusion Authority Articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||