When storing Session information to the Registry, I am not sure about
accessing the acutal Session data, however you can get a list of Session
ID's.

<cfregistry action="GetAll" type="Key" name="Sessions"
        
branch="HKEY_LOCAL_MACHINE\Software\Allaire\ColdFusion\CurrentVersion\Client
s">

The query above will return a list of registry entries, which are in the
format of *-********* (length will vary), where the first number is the
CFID, and the second is the CFTOKEN.  Session ID's are simply the name of
the <cfapplication, with the CFID and CFTOKEN.

So, a Session ID might look like this:

MY_APPLICATION_32_3300322

I don't know where Session data is stored, but if anyone knows, and it is
paired with the Session ID, this is how you can access it.

One thing to note, this list from the registry can contain unused session
(client) data that have expired.  There is a setting in the CF Administrator
to purge client data that has been unvisited to X amount of days.  Be sure
to make note of your settings before you look at the data.

Good Luck!

--
Scott Van Vliet
Sempra Energy
555 W. 5th St., 21st Floor
Los Angeles, CA 90013
Tel > 213.244.5205
Email > [EMAIL PROTECTED]

"Hello Stupid, and welcome to your crappy computer."
- Strong Bad, HomestarRunner.com






> -----Original Message-----
> From: Stacy Young [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 27, 2002 3:23 PM
> To: CF-Talk
> Subject: Accessing Session Data
> 
> 
> This may seem like an obvious question but is it possible to 
> access session
> data of all users currently on the system? I'm interested in 
> making an admin
> tool with a "current user" browser...and I don't particularly 
> like the idea
> of replicating data to the application scope as it's a high 
> volume site.
> 
>  
> 
> Thanks! 
> 
>  
> 
> Stacy Young
> 
> System Integration Specialist, Architecture
> 
> Surefire Commerce
> 
> http://www.sfcommerce.com <http://www.sfcommerce.com> 
> 
> (p) 514-380-2700 ext: 3234
> 
> (f) 514-380-2760
> 
>  
> 
> 
> 
> AVIS IMPORTANT: 
> -------------------------------
> Les informations contenues dans le present document et ses 
> pieces jointes sont strictement confidentielles et reservees 
> a l'usage de la (des) personne(s) a qui il est adresse. Si 
> vous n'etes pas le destinataire, soyez avise que toute 
> divulgation, distribution, copie, ou autre utilisation de ces 
> informations est strictement prohibee.  Si vous avez recu ce 
> document par erreur, veuillez s'il vous plait communiquer 
> immediatement avec l'expediteur et detruire ce document sans 
> en faire de copie sous quelque forme.
> 
> WARNING:  
> -------------------------------
> The information contained in this document and attachments is 
> confidential and intended only for the person(s) named above. 
>  If you are not the intended recipient you are hereby 
> notified that any disclosure, copying, distribution, or any 
> other use of the information is strictly prohibited.  If you 
> have received this document by mistake, please notify the 
> sender immediately and destroy this document and attachments 
> without making any copy of any kind.
> 
> 
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to