If you clear SESSION itself you're asking for trouble. Try adding one additional level to the SESSION scope.
instead of SESSION.myvariable, just use SESSION.myStruct.myvariable. Then you can clear SESSION.myStruct with no worries. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 1:42 PM To: CF-Talk Subject: RE: Solved: division by 0 error I think I got it. On logout, we were using structClear(session), and while working on a workaround, I coincidentally came to the livedocs for structClear, which mention never to use it on session. There is a technote that explains that it deletes the cfid/cftoken/jsessionid and that's bad... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_17479 So my question is what is the correct way to kill a session? Russ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262502 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

