I am new to ColdFusion so hopefully this is a trivial problem: I have an application in ColdFusion 4.5 that is supposed to do simple user authentication, and it uses session variables to capture user sessions, but they persist even after closing the browser. The result is that the session variable intended to keep track of whether or not a user is logged on is always inaccurate after the first user even after closing the window, because it is always defined and it retains the information of the previous user. Here is the relating code:
<cfapplication sessionmanagement= "yes" clientmanagement= "yes">
<cfset session.name= "#form.name#">
Later in the code, #IsDefined(session.name)# is only false if the user is the first one to access the application. After that it's always true even after the window had been closed.
Does anyone understand why this might be? Thanks
<cfapplication sessionmanagement= "yes" clientmanagement= "yes">
<cfset session.name= "#form.name#">
Later in the code, #IsDefined(session.name)# is only false if the user is the first one to access the application. After that it's always true even after the window had been closed.
Does anyone understand why this might be? Thanks