hi gary thanks for the reply. i tried what you said but for some strange reason it is dumping all the session variables when the browser closes but then when i restart the browser and start again, all the session variables are gone but it is not entering the <cflogin> tag indicating that it is not logging the user out.
i have enabled the j2ee session variables in the administrator but it is strange that it is dumping the session variables but doesnt seem to be logging the user out. the only way i can get it to enter the <cflogin> tag is to physically click the logout button then it is fine. i have even tried to put the <cflogout> tag inside the onsessionend event and this problem still occurs thanks for your help ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293150 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

