to copy the session scope: request.session = duplicate(session); to delete the session scope: structClear(session); structDelete(request, "session"); M
-----Original Message----- From: Jim [mailto:[EMAIL PROTECTED] Sent: Tue 8/5/2003 8:33 PM To: CF-Talk Cc: Subject: help with duplicating / clearing session scope I'm duplicating my session scope to the request scope in my Application.cfm, and then duplicating them back to the session scope in my OnRequestEnd.cfm and it works well, and prevents me from doing a lot of locking. However, I'm stuck now on actually clearing the session vars out, say when a user logs out. I want to keep some variables, and I seem to be stuck in a loop of I clear the session vars out but they get written back from the request scope immediately. It's midnight and I'm probably a bit brain dead but was wondering if anyone has used this system and could briefly explain what I'm missing :) Thanks, jim ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4