Phil has led you astray a little here and I will correct him.
CFID & CFToken are used to identify which variables belong to that client,
which is held in memory and controlled by the cookie. If the cookie has
expiration then closing the browser will assign new values for CFID &
CFToken. Otherwise the next time they log in the cookie will keep these
available until this cookie does expire.
There is no difference in the cookie that CF uses for client or session,
CFID & CFToken are references for that client. Change them and they get
reset to nothing, but are still held in the system until manually deleted or
they expire by the server settings.
Client variables are supposed to be cleaned up by CF, however I am yet to
see CF clean the client variables up when stored in a DB. I don't use the
registry for client variables so I can't say if they do clean up or not.
But there is a setting in the Administrator to change the length of time
before deleting this.
Regards
Andrew Scott
Technical Consultant
NuSphere Pty Ltd
Level 2/33 Bank Street
South Melbourne, Victoria, 3205
Phone: 03 9686 0485 - Fax: 03 9699 7976
_____
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 28 January 2004 12:43 PM
To: CF-Talk
Subject: Session vs. Client Management
Been using CF for so long, I should know these things without thinking. I'm
guessing I may even have known the answers at one time...
If a cfapplication has session, but not client management enabled (and is
using client cookies), then is there any difference in the cookie that CF
uses? Expiration date, for instance.
How does CF keep track of sessions? I realize it uses the CFID/CFTOKEN
combo
set in a cookie or in the url, but where does it keep session tracking
information and session variables? In memory? All sessions are lost if the
cf application service is restarted, correct?
If client management is enabled, does CF _ever_ clean up client variables or
are they considered "permanent"?
If client management is enabled, is there a simple way, for testing
purposes,
to reset the client variables so that a developer can test an application as
if they were coming in fresh to the application?
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

