Created
April 27, 2013 04:53
-
-
Save youcoldfusion/5471920 to your computer and use it in GitHub Desktop.
client variable storage in coldfusion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfdump var="#client#"> | |
<!--- client variable storage ---> | |
<!--- | |
1.Registry by default | |
2.Cookie | |
3.Datasource | |
---> | |
<!--- The selection of ClientStorage can be even done | |
from coldfusion administration | |
---> | |
<!--- Application.cfc ---> | |
<cfscript> | |
This.name"NameOFTheApplication"; | |
This.clientManagement="Yes"; | |
This.clientStorage="datasourcename"; | |
</cfscript> | |
<!--- <cfapplication> ---> | |
<cfapplication name"SearchApp" | |
clientmanagement="Yes" | |
clientstorage="datasourcename"> | |
<!--- If we dont put define clientStorage in the above,by default storage is Registry---> |
If you Select Data Source to Add as Client Store in coldfusion administrator,
two tables automatically created in your database
1.cdata
2.cglobal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi