Losing Cookies with IE Browsers
Hello Guys, I was just wondering if anyone here have experienced the same situation I'm in right now. In a nutshell, I'm noticing on my ecommerce website the cookie holding the shopping cart ID is being dropped after several clicks through the website only with IE browsers. With the same code, it works just fine with FireFox/Netscape browers. Here's how my database driven shopping cart works on my site. In the Application.cfm I have these lines of code: cfif NOT IsDefined(COOKIE.LastCartID) cfset newCCID = #CreateUUID()# cfcookie name=LastCartID value=#newCCID# expires=NEVER cflock timeout=30 throwontimeout=No name=#SESSION.SessionID# type=EXCLUSIVE cfset SESSION.CartID = COOKIE.LastCartID /cflock /cfif A first time visitor will have a new cart ID created and saved to a cookie (COOKIE.LastCartID) and to a session variable (SESSION.CartID). Once the mini shopping cart is reached, a query is made to the cart database to find contents of the cart and will display the data. New customers will return 0 contents obviously but returning customers who added items in a previous session will display as such. Now, what I noticed is after adding an item to the cart and making about 20 or so click throughs on the site, the cart returns 0 items and with my debugging code on, a whole new cookie ID is created as well as other session variables (CFID, CFTOKEN, etc.) I'm just wondering if anyone else experienced this and what strategies should I undertake to resolve this. This is an issue specific to IE browsers. Thanks. Orlando ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299069 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
IE Browser Session Dropping
Hi Everyone, I could really use some help in solving this development issue. As many of you may know, there is a known bug with Microsoft Internet Explorer with regards of dropping session variables. It's happen much more frequent now and it's causing us to lose sales on our ecommerce website. I'm not asking for code, just guidence in what strategy I should take to get rid of this problem. My websites are built with Coldfusion so I feel it applies here. Website Specs: dynamic pages, database driven shopping cart system custom built by me. Extensive use of session variables during the checkout process. Any help or guidence would be greatly appreciated. Thanks, Orlando ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297126 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: IE Browser Session Dropping
If you Google this topic, you'll find many discussions about it. This problem seems to be consistent with IE7 browsers. Our website relies on a session variable (SESSION.CustID) to track the customer during the checkout. At any time during the checkout, this variable all of a sudden becomes undefined. This should never happen. I couldn't figure out what was causing this. After a long research process, I found many community boards discussion this bug with IE7 browers. My shopping cart system was working fine long before this release of IE7. I'm just wondering if anyone here experienced the same problems and what they did to work around it. On Wednesday 23 Jan 2008, Orlando Roman wrote: there is a known bug with Microsoft Internet Explorer with regards of dropping session variables. There is ? -- Tom Chiverton Helping to vitalistically grow seamless metrics on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297134 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: IE Browser Session Dropping
Would passing the CFIF CFTOKEN in the URL an acceptable practice? For security reasons, I still want to save a variable on the server to prevent URL hacking. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297174 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4