This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01BF9D84.2235BDF0
Content-Type: text/plain;
charset="windows-1252"
You mean it will clear client variables as well? I use that line of code
for logout function.
I think you were the person that also recommended that one put a <cflock>
around tags that manipulate session variables...should it be done in this
case as well?
-----Original Message-----
From: Raymond K. Camden [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 03, 2000 11:14 AM
To: [EMAIL PROTECTED]
Subject: RE: structclear
It works, but too well. It also clears out session vars that ColdFusion uses
to track you. You should either use StructDelete to remove individual
variables, or simply store all of your stuff in a substructure, like
Session.MyVars. Then you can call StructClear on that structure w/o any
worries.
===================================================================
Raymond Camden, Webmaster of the Death Clock (www.deathclock.com)
Cold Fusion Jedi Master for Syntegra (www.syntegra.com)
Allaire Certified Instructor and Member of Team Allaire
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Won Lee [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 03, 2000 9:51 AM
> To: cf-talk (E-mail)
> Subject: structclear
>
>
>
> I thought I had read that this line of code no longer works well
> in 4.5, is
> this true?
>
>
> <cfset StructClear(session)>
>
>
> Is there a better alternative? Should I be surrounding this with
> <cflock>?
>
> Won Lee
> Systems Consultant
> New Channel Technologies
> (330) 220-1558
> [EMAIL PROTECTED]
>
> "Turning ideas into e-Business"
> <allaire> Premier Partner
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
> _talk or send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body.
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------_=_NextPart_001_01BF9D84.2235BDF0
Content-Type: text/html;
charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dwindows-1252">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>RE: structclear</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>You mean it will clear client variables as =
well? I use that line of code for logout function. </FONT>
</P>
<P><FONT SIZE=3D2>I think you were the person that also recommended =
that one put a <cflock> around tags that manipulate session =
variables...should it be done in this case as well?</FONT></P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Raymond K. Camden [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:raymond.k.camden@sy=
ntegra.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Monday, April 03, 2000 11:14 AM</FONT>
<BR><FONT SIZE=3D2>To: [EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2>Subject: RE: structclear</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>It works, but too well. It also clears out session =
vars that ColdFusion uses</FONT>
<BR><FONT SIZE=3D2>to track you. You should either use StructDelete to =
remove individual</FONT>
<BR><FONT SIZE=3D2>variables, or simply store all of your stuff in a =
substructure, like</FONT>
<BR><FONT SIZE=3D2>Session.MyVars. Then you can call StructClear on =
that structure w/o any</FONT>
<BR><FONT SIZE=3D2>worries.</FONT>
</P>
<P><FONT =
SIZE=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT=
>
<BR><FONT SIZE=3D2>Raymond Camden, Webmaster of the Death Clock =
(www.deathclock.com)</FONT>
<BR><FONT SIZE=3D2>Cold Fusion Jedi Master for Syntegra =
(www.syntegra.com)</FONT>
<BR><FONT SIZE=3D2>Allaire Certified Instructor and Member of Team =
Allaire</FONT>
</P>
<P><FONT SIZE=3D2>Email : [EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2>ICQ UIN : 3679482</FONT>
</P>
<P><FONT SIZE=3D2>"My ally is the Force, and a powerful ally it =
is." - Yoda</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>> From: Won Lee [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</=
A>]</FONT>
<BR><FONT SIZE=3D2>> Sent: Monday, April 03, 2000 9:51 AM</FONT>
<BR><FONT SIZE=3D2>> To: cf-talk (E-mail)</FONT>
<BR><FONT SIZE=3D2>> Subject: structclear</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> I thought I had read that this line of code no =
longer works well</FONT>
<BR><FONT SIZE=3D2>> in 4.5, is</FONT>
<BR><FONT SIZE=3D2>> this true?</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> <cfset StructClear(session)></FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> Is there a better alternative? Should I =
be surrounding this with</FONT>
<BR><FONT SIZE=3D2>> <cflock>?</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> Won Lee</FONT>
<BR><FONT SIZE=3D2>> Systems Consultant</FONT>
<BR><FONT SIZE=3D2>> New Channel Technologies</FONT>
<BR><FONT SIZE=3D2>> (330) 220-1558</FONT>
<BR><FONT SIZE=3D2>> [EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> "Turning ideas into =
e-Business"</FONT>
<BR><FONT SIZE=3D2>> <allaire> Premier Partner</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> =
------------------------------------------------------------------</FONT=
>
<BR><FONT SIZE=3D2>> ------------</FONT>
<BR><FONT SIZE=3D2>> Archives: <A =
HREF=3D"http://www.eGroups.com/list/cf-talk" =
TARGET=3D"_blank">http://www.eGroups.com/list/cf-talk</A></FONT>
<BR><FONT SIZE=3D2>> To Unsubscribe visit</FONT>
<BR><FONT SIZE=3D2>> <A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dli=
sts/cf" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
&body=3Dlists/cf</A></FONT>
<BR><FONT SIZE=3D2>> _talk or send a message to =
[EMAIL PROTECTED] with</FONT>
<BR><FONT SIZE=3D2>> 'unsubscribe' in the body.</FONT>
</P>
<P><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------------</FONT>
<BR><FONT SIZE=3D2>Archives: <A =
HREF=3D"http://www.eGroups.com/list/cf-talk" =
TARGET=3D"_blank">http://www.eGroups.com/list/cf-talk</A></FONT>
<BR><FONT SIZE=3D2>To Unsubscribe visit <A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dli=
sts/cf_talk" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
&body=3Dlists/cf_talk</A> or send a message to =
[EMAIL PROTECTED] with 'unsubscribe' in the =
body.</FONT></P>
</BODY>
</HTML>
------_=_NextPart_001_01BF9D84.2235BDF0--
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.