Didn't work before but it did this time ..thanks! A. ----- Original Message ----- From: "Benjamin Price" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 18, 2003 3:49 PM Subject: RE: [KCFusion] Session variable memory
> Since the variable test is a string, try StructDelete(session,"test"). > StructClear is for clearing the entire session structure. A string, or any > other simple variable type, won't work with StructClear. > > -----Original Message----- > From: Adaryl Wakefield [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2003 3:44 PM > To: [EMAIL PROTECTED] > Subject: Re: [KCFusion] Session variable memory > > > K I took the quotes out still not good. > <cfset session.test = "foo"> > <cfoutput>#session.test#</cfoutput> > <cfscript>StructClear(session.test);</cfscript> > gives me "Cannot convert given value to a struct. Please check the validity > of the expression" > Most of the book and Studio examples create structures before they get rid > of them. But it says clearly that this is how you get rid of session > variables. What am I missing? > A. > > > > > ______________________________________________________________________ > The KCFusion.org list and website is hosted by Humankind Systems, Inc. > List Archives........ http://www.mail-archive.com/[EMAIL PROTECTED] > Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] > To Subscribe.................... mailto:[EMAIL PROTECTED] > To Unsubscribe................ mailto:[EMAIL PROTECTED] > > > > ______________________________________________________________________ > The KCFusion.org list and website is hosted by Humankind Systems, Inc. > List Archives........ http://www.mail-archive.com/[EMAIL PROTECTED] > Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] > To Subscribe.................... mailto:[EMAIL PROTECTED] > To Unsubscribe................ mailto:[EMAIL PROTECTED] > > > ______________________________________________________________________ The KCFusion.org list and website is hosted by Humankind Systems, Inc. List Archives........ http://www.mail-archive.com/[EMAIL PROTECTED] Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] To Subscribe.................... mailto:[EMAIL PROTECTED] To Unsubscribe................ mailto:[EMAIL PROTECTED]