Well, you say you have session variables "in a structure". Let me first
clarify that if you just want to delete a session variable, such as
session.test, you'd use:

<cfset tmp = structdelete(session,"test")>

Note that this specifically lists the session scope first with NO QUOTES and
the variable next WITH QUOTES. This is a rule of the StructDelete function,
which is being used here to treat the session scope as a structure (which
you can do as of a few releases ago).

When you say you have the session vars "in a structure", if you mean
something other than the session scope structure itself, then you'll need to
modify the example above accordingly.

/charlie

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Alex Cianfarani
Sent: Thursday, February 14, 2002 1:02 PM
To: CTalk
Subject: [CFTALKTor] Deleting a session var in a structure


Good day,

I have group of session var that are in a structure...I know how to delete
the structure but what I have to do is just delete on session var. Is there
a way to do that?

Alex Cianfarani
_________________________
Portfolio: www.acianfarani.ca
Voice: 705.474.1785


-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "Alex Cianfarani"
<[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "charles arehart" <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

Reply via email to