session variables are stored in RAM. The only way to access them is via the session scope for a given request.
client variables are totally independant of session variables, though they happen to share identifiers if you're not using J2EE sessions. CFID/CFTOKEN is used for client variables, and optionally CFMAGIC for cross-domain stuff. sessions can use them as well, or they can use J2EE sessions (there's an option in the CF admin for selecting). The database used for client variables should be considered an implementation detail and not be interacted with directly. That being said, it should be pretty simple to figure out how to get the proper record. Note that it depends on the application name as well as the CFID/CFTOKEN pair. Note also that the data is serialized in a custom fashion that you'll have to manually deserialize if you want to use it. If you want to integrate your app with the client variables store, I'd recommend writing your own custom implementation. It's quite straightforward, and you can add some neat functionality, like using WDDX to serialize complex objects (which normal client vars can't do). cheers, barneyb On Tue, 16 Nov 2004 13:25:06 -0800 (PST), Joshua OConnor-Rose <[EMAIL PROTECTED]> wrote: > pardon if I'm asking a question that has probably been > answered. But I'm wondering where exactly session > variables are stored and how they relate to client > variables. > > do CFID and CFTOKEN relate to both > > and if I'm doing client management with a database how > do I find the record of my information in CDATA and > CGLOBAL based on the cookies of my machine. > > -Joshua O'Connor-Rose > -All is Good > > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/blog/ I currently have 0 GMail invites for the taking ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184481 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

