Here's what I have working. 

My Admin/app.cfc screwed with it and wouldnt let me dump the session.carts. 

So I put the code in the root folder, then access it thru Admin with an 
<iframe> that sends a user/pass thru the URL. 

Thanks bobby and the others that posted!

<cfif StructKeyExists(URL, "USER") AND StructKeyExists(URL, "PASS")>
   <cfif URL.USER EQ "**********" AND URL.PASS EQ "**********">
     <cfset sesTracker = 
createObject("java","coldfusion.runtime.SessionTracker") />
     <cfset allSessions = 
sesTracker.getSessionCollection(application.applicationName) />
         <h3>Current items stored in carts in the store</h3>
         <p>* Visitors may still have carts, even if they aren't in the 
store.</p>
      <cfloop item="s" collection="#allSessions#">
      <cfif structKeyExists(allSessions[s], "shoppingcart")>  
         <cfdump var="#allSessions[s].shoppingcart.retCartStruct()#">  
      </cfif> 
     </cfloop>
   </cfif>
<cfelse>
<h3>You do not have permission to view this page!</h3>
</cfif>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260318
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to