I don't know if this will help but when ever I use StructClear it never
works right. If I want to kill session variables I have to say
<cfscript>structDelete(session, "sessionVar");</cfscript>

Adaryl Wakefield
Aviator by passion
Programmer by sheer force of will
----- Original Message -----
From: "Keith Purtell" <[EMAIL PROTECTED]>
To: "KCFusion (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, December 19, 2003 8:39 AM
Subject: [KCFusion] Session variables problem CF5


> I built a Web form where I can make updates to one of our databases. For
reasons I'm not sure of
> yet, the form keeps defaulting to recently-used values. So I inserted some
code to kill the session
> variables. Something I had never tried before. As a result of that my
entire login to our intranet
> got messed up, and I kept getting error messages on each page I visited. I
knew I was getting bitten
> by my own code, just not sure why. Even more frustrating, I didn't see a
way to reset my status, and
> had to reboot the server. So the question is, what's the simplest way to
restore session variables
> associated with my login? Here's the code that zapped me, followed by the
error message.
>
> <cflock scope="session" type="exclusive" timeout="60" throwontimeout="no">
> <cfset StructClear( session )>
> </cflock>
>
> Error resolving parameter SESSION.SESSIONID
> The session variable SESSIONID does not exist.
>
>
> Keith Purtell, Web/Network Administrator
> VantageMed Operations (Kansas City)
>
> CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the
> intended recipient(s) and may contain confidential and privileged
information. Any unauthorized
> review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please
> contact the sender by reply email and destroy all copies of the original
message.
>
> ---
> [This E-mail scanned for viruses by Declude Virus]
>
>
> =========================================================
> Kansas City ColdFusion User Group's website & listserv is
> hosted through the generous support of Clickdoug.com
> To send email to the list, email  [EMAIL PROTECTED]
> To subscribe or unsubscribe, send an email to [EMAIL PROTECTED] with your
request.
> For hosting solutions http://www.clickdoug.com
> Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1.
> ======================================================
>
 
=========================================================
Kansas City ColdFusion User Group's website & listserv is 
hosted through the generous support of Clickdoug.com
To send email to the list, email  [EMAIL PROTECTED]
To subscribe or unsubscribe, send an email to [EMAIL PROTECTED] with your request.
For hosting solutions http://www.clickdoug.com
Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1. 
======================================================

Reply via email to