Re: [KCFusion] Session variable memory
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. > > #session.test# > StructClear(session.test); > 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]
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. #session.test# StructClear(session.test); 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]
Re: [KCFusion] Session variable memory
K I took the quotes out still not good. #session.test# StructClear(session.test); 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]
[KCFusion] Session variable memory
I forgot to mention, you can delete both individual session variables (struct delete function?) and the whole session variable list for an individual (structclear?). You could attempt to delete all of them if they use a logout button, and some of them if they are no longer needed in the app. This may save some memory, though it won't delete all of the variables since not everyone will logout. Either way, shorten your session timeout period if you are concerned and you only need the session active for 15-45 minutes. Microsoft has a free loading tool that stress tests a website in any language. http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/itsolutio ns/intranet/downloads/webstres.asp?frame=trueYou You can stress test a developmental server with 100+ variables and hundreds of sessions. __ 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]