We have an application that at times allows current users on the system to gain login rights from another person logging on to the application. Basically its grabbing someone elses login ID and security. We use the following code in the login file:
<CFLOCK Name="session.sessionid" Type="Exclusive" Timeout="10">
<CFSET Session.AdminUser = "#CheckLogin.AdminID#">
<CFSET session.AccessLevel = "#CheckLogin.AccessLevel#">
<CFSET session.AdminID = "#CheckLogin.AdminID#">
<CFSET session.Email = "#CheckLogin.Email#">
<CFSET session.OPFAC = "#CheckLogin.OPFAC#">
<CFSET session.AOR = "#CheckLogin.DETAOR#">
<CFSet session.AdminUserName = "#checkLogin.Username#">
</CFLOCK>
Any ideas on how we can stop this from happening? Should this information be incorporated in the application.cfm file instead of a single login page? Thanks in advance!
<CFLOCK Name="session.sessionid" Type="Exclusive" Timeout="10">
<CFSET Session.AdminUser = "#CheckLogin.AdminID#">
<CFSET session.AccessLevel = "#CheckLogin.AccessLevel#">
<CFSET session.AdminID = "#CheckLogin.AdminID#">
<CFSET session.Email = "#CheckLogin.Email#">
<CFSET session.OPFAC = "#CheckLogin.OPFAC#">
<CFSET session.AOR = "#CheckLogin.DETAOR#">
<CFSet session.AdminUserName = "#checkLogin.Username#">
</CFLOCK>
Any ideas on how we can stop this from happening? Should this information be incorporated in the application.cfm file instead of a single login page? Thanks in advance!