> Okay, I've searched the archives but want to get it straight. I've built a 
> shopping cart using session variables. But, it looks like if a user has 
> cookies turned off, the cart won't retain the contents. Is this correct?

Yes, if you are not passing the CFID and CFTOKEN with a request, and they 
have cookies turned off, there is nothing that tells the server who is 
accessing the application, so the session will be dropped.

> I've also read about using URLSessionFormat, but seen some posting that it 
> can mess things up if cookies are enabled.

The way it's supposed to work is that if a user has cookies turned off, the 
CFID/CFTOKEN will be appended to the url; if they do have cookies enabled, 
the CFID/CFTOKEN won't be appended.  So, it shouldn't mess anything up - in 
fact it's designed to address the issue you're dealing with.

> Can anyone give a quick overview of best practices when using session 
> variables?

You'll probably want to consult the Livedocs or a good CF book like CFWACK 
for the best overview.

-- Josh




----- Original Message ----- 
From: "Curt Schryver" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Thursday, May 24, 2007 11:57 AM
Subject: Session variables and cookies


>
> I've also read about using URLSessionFormat, but seen some posting that it 
> can mess things up if cookies are enabled.
>
> Can anyone give a quick overview of best practices when using session 
> variables?
>
> Thanks a lot!
>  Curt
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279137
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to