You should check <CFIF IsDefined("session.MissedQuestionID")> MissedQuestionID Still Defined. </CFIF>
-----Original Message----- From: Thane Sherrington [mailto:[EMAIL PROTECTED]] Sent: vrijdag 31 januari 2003 16:32 To: CF-Talk Subject: Deleting session variables 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4