Paul,

First thing, go to the CF Administrator and go to Server > Variables. If
you're going to be using any datasources for client vars, here's where you'd
register them. You can also change the default storage mechanism for client
vars.

The next step would be to use the CLIENTSTORAGE attribute of the
<CFAPPLICATION> tag if you want to use something other than the default
storage setting.

http://webdev.oar.net/cfdocs/CFML_Language_Reference/2_ColdFusion_Tags/lr2_0
17.htm#1967438

--snippet from docs--
CLIENTSTORAGE
Optional. Specifies the mechanism for storing client variables:

o datasourcename -- ColdFusion stores client variables in the
                    specified ODBC or native data source. To use
                    this option you must create a client variable
                    storage repository using the Variables page of
                    the ColdFusion Administrator.
o Registry --       ColdFusion stores client variables in the system
                    registry. This is the default.
o Cookie --         ColdFusion stores client variables on the client
                    machine in a cookie. Storing client data in a
                    cookie is scalable to large numbers of clients,
                    but this storage mechanism has some limitations.
                    Chief among them is that if the client turns off
                    cookies in the browser, client variables won't work.
--snippet from docs--

-Dan

> -----Original Message-----
> From: Paul Ihrig [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 20, 2001 9:28 AM
> To: CF-Talk
> Subject: Client State Management? what storage method?
>
>
> Quick question.
> how do you store your client variables?
> in a bd, registry or cookie
>
> i am just starting a redesign & lay out to our intranet./
> since ldap seems to be out of reach do to 2 servers with the same
> name, i am
> looking into using client management.
>
> having fun playing with all the code out there!
> ok, so i have this picture board app that i can have users auth into.
>
> should i use the same phone/picboard db to store my client info?
>
> pros/cons, & all suggestions greatly appreciated!
>
> thank you!
>
> -paul
>
> Web Developer, NBBJ
> Work:         [EMAIL PROTECTED]
>       614 241-3534
> fax:  614 485-5534
>
> Home:         [EMAIL PROTECTED]
>       614 449-1681
>
> icq:  47658358
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to