I'm sure cfid and cftoken are described in the CF manual, but if you
want my advice, don't use these values as primary keys in your
database. Normally you would store shopping carts in the database if
you want them to persist across user sessions. Are you familiar with
the client scope? What you are describing seems like the built-in
client scope feature.

-Mike Chabot

On Sat, Jan 10, 2009 at 12:41 PM, Pete Ruckelshaus
<[email protected]> wrote:
> I'm building a cart-like application where I intend to store the
> (usually anonymous) user's intra-session web site state in a database
> table.  Using cfid and cftoken are the obvious choice to use to ID a
> given user's state (I do realize that it would be system-unique and
> wouldn't follow the user across computers, which is fine) when stored
> in the database, but I feel like my understanding of how (and when)
> CFID's and CFTOKEN's are created is incomplete.  Is there a
> comprehensive guide to the how's and why's of cfid and cftoken
> available online?
>
> Thanks,
>
> Pete

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317726
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to