Using CF5.

I setup two session variables on one page, and on the next, I check them 
and then at the end of the second page, I use this code to delete them.

<cflock timeout=10 scope="Session" type="Exclusive">
   <cfset tempvar=StructDelete(Session, "MissedQuestionID")>
   <cfset tempvar=StructDelete(Session, "CategoryID")>
</cflock>

But they don't get deleted.  It clears the values from them, but when I put 
this code immediately after the delete code, it tells me they still exist.

<CFIF IsDefined("MissedQuestionID")>
        MissedQuestionID Still Defined.
</CFIF>

Is there a way to delete them completely?

T

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to