Hi folks I wish to unsuscribe to this MailingList.
Thanks >>> [EMAIL PROTECTED] 08/20/02 01:38p.m. >>> Unsubscribe -----Original Message----- From: Richard Salter [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 8:56 PM To: CF_OpenSource Subject: Re: Session Variables Thanks Steve but can't use it with multiple sessions ie Discussion Board and a shopping cart at same time Richard ----- Original Message ----- From: "Steve Kenney" <[EMAIL PROTECTED]> To: "CF_OpenSource" <[EMAIL PROTECTED]> Sent: Monday, August 19, 2002 3:15 AM Subject: Re: Session Variables > 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. > > > > > > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf_opensource@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists