Ask a Question related to Macromedia ColdFusion, Design and Development.
-
theDude28 #1
client Vs Session
Hi sorry for another newbie question but I was just wondering when making
variables last the whole time a user is logged in are you best using client or
session variables i am currently using session variables but would there be any
advantages or not if i were to change it to client variables?
Thanks in advance.
theDude28 Guest
-
#39455 [NEW]: Can't generate different session id on same client
From: lizy at nlc dot gov dot cn Operating system: FreeBSD 6.1 PHP version: 4.4.4 PHP Bug Type: Session related Bug... -
Session & Client Variables non-existent
Hi there-- I recently moved from Cold Fusion server 4.5 to ColdFusion MX 6.1 Developer on my development machine. Since then, I can't maintain... -
Sharing SESSION/CLIENT variables across applications
Yeah, there are several application variables that have the same name between applications. So basically the only way to do it, while keeping... -
send page to client when session expires
A client-side timer fires and does the page redirect - you can't do it from global.asa since there is no page request context to redirect.with when... -
Client (Browser) Connection/Session Question
So, there is no way in PHP code to check to see who is still connected? On Fri, 11 Jul 2003 12:38:34 +0800, "powerboy"... -
michaelmuller #2
Re: client Vs Session
If you needed to store structure variables in the user's state container
(client vs session) you would need to use session variables, as client
variables can't store structures. Also, client variables can be set to forever,
whereas session variables eventually time out.
I'm about to pose a similar question regarding using session variables AND
cookies in a new topic. Look for it if you're interested.
michaelmuller Guest
-
gclausen #3
Re: client Vs Session
If you only want your variables to last for the duration of the session then
use Session variables. If you want your variables to be available the next time
the same user comes back to your applicatiion then you want to use Client
variables.
Session variables are a little faster since they are stored in CF memory on
the server. Since Client variables are persisted (saved for a long period of
time) they are normally stored in a database.
michaelmuller is right, if you need to store complex datatypes (like
structures or queries) you would need to use Session variables. Client
variables can only be numeric or strings.
gclausen Guest
-
theDude28 #4
Re: client Vs Session
Hi thanks for your reply is it still ok to store session variables in a database for later analysis or would i have to use client variables?
Thanks.
theDude28 Guest
-
Unregistered #5
Re: client Vs Session
Complex objects can be stored in the client, they just need to be serialized first cfwddx can help with this. Obviously doing this for everything would be a pain in the a--
Unregistered Guest



Reply With Quote

