Session variables and Client variables have their advantages and
disadvantages,
session variables are held in the ram and do not persist between sessions
whereas client variables can, client variables cannot hold complex datatypes
without
using perhaps wddx or xml to turn the complex data type into a string,
session variables MUST BE locked. I dont think one method is better than the
other
but if you use client variables do not store them in the registry(default)
and if you use
session variables make sure you lock them.
One thing to be clear of is that coldfusion server USES cfid and cftoken to
find the correct session variables (in RAM )so the only way to have session
variables is if the cfid and cftoken are on the url or stored in cookies
theses are the only 2 ways!
Hope that helps
Kola
-----Original Message-----
From: Toni Trape [mailto:[EMAIL PROTECTED]]
Sent: 08 May 2001 12:56
To: Fusebox
Subject: RE: Advantages of use cfid and cftoken?
Kola,
Is for a public website so i can't force toswitch on cookies.
The only way is by cookies or by url?
What about session variables (session.cfid)?
Many problems about session variables?
Toni
At 12:45 08/05/01 +0100, you wrote:
>Toni
>
>As far as i know the cfid and cftoken are what the coldfusion server uses
to
>identify your session and distinguish it from other requests for pages from
>other users so you wouldnt want to store the cfid and cftoken as session
>variables, the coldfusion server would need to be supplied with a cfid and
>cftoken value (either in cookies or on the url) to reference a particular
>session variable.
>
>If you are building an intranet site or a site where you have some control
>over the environment
>of your visitors you can force them to switch on cookies if they want to
use
>your site.
>
>KOla
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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