The problem is not when the session ends, but when the user enters again to the system after his(her) session ended. The applications shows the login template, the user enter the user name and password and the application (I do not know how) authenticates the user and let him(her) to enter without running my:
<cfset roles=session.security.login(cflogin.name,cflogin.password)> Nor my: <cfloginuser name="#cflogin.name#" Password="#cflogin.password#" roles =#roles#"> And that is why I end up with a loged in user without my âsession.userInfoâ variable. I already try loging out the user in the onSessionEnd but it did not work either. My solution works but I want to know why is this happening because sometimes its authenticates and sometimes not. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:292116 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

