Richard, Here is a variation on your structclear to try... this works for me.
<CFLOCK timeout="5" throwontimeout="No" scope="session" type="EXCLUSIVE"> <CFSET StructClear(session)> </CFLOCK> Steve Kenney Responsive Inc. http://www.responsiveinc.com ----- Original Message ----- From: "Richard Salter" <[EMAIL PROTECTED]> To: "CF_OpenSource" <[EMAIL PROTECTED]> Sent: Sunday, August 18, 2002 5:49 AM Subject: Session Variables > browsemode: Threaded > cart: Complex Value > CFID: 18 > CFTOKEN: 43554840 > LOGIN: true > SESSIONID: auctionbidding_18_43554840 > URLTOKEN: CFID=18&CFTOKEN=43554840 > USER.ID: 18 > USER.NAME: cctv > > > When I dump the session variables in my appplication. > 1.. Login uses cf_authenticate and creates a session using in authenticate <cfset session.login = "true"> > 2.. cart sessionmanagement="yes" > 3.. addtoken="yes" > 4.. clientManagement="yes" > > I get the following above but am having problems with a logout page > > I have tried the following snippets: > > <CFScript> > StructClear(session); > </CFScript> > > Also adding tracking of session variables in the aplication page. > > <CFCOOKIE NAME="CFID" VALUE="#Session.CFID#"> > <CFCOOKIE NAME="CFTOKEN" VALUE="#Session.CFTOKEN#"> > > And setting of zero values for CFID and CFTOKEN in a unique redirect page after logging out. (Did this in the cflocation url="index.cfm" with snippet below.) > > <CFCOOKIE NAME="CFID" VALUE="0"><CFCOOKIE NAME="CFTOKEN" VALUE="0"> > > But on dumping the session variables again I still have the cart and browsemode session variables...any thoughts or may be there is an easier way as I know how to kill on browser close (my users keep asking for a logout and will not accept the session closes on closing of the browser). > > browsemode: Threaded > cart: Complex Value > CFID: 18 > CFTOKEN: 43554840 > SESSIONID: auctionbidding_18_43554840 > URLTOKEN: CFID=18&CFTOKEN=43554840 > > As you can see the cart session and browse mode session are still active.....why! The only session variable I can get rid of is the login the rest remain....?? > > Richard. > > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
