|Applies To||ClearTrust Web Agent IIS V4.6 Agent|
|Issue||AXM - ASP.NET Session Variables still available after logging out.|
Logged out user does not close browser and next user of the .net application appears to pick up previous users session variables.
CT_REMOTE_USER appears to be updated between the sessions
In global.asax file of the ASP.NET project, add the following in the event handler
Sub Application_PreRequestHandlerExecute(ByVal sender As Object, ByVal e As EventArgs)
|Notes||The Global.asax file is the central point for ASP.NET applications. It provides numerous events to handle various application-wide tasks such as user authentication, application start up, and dealing with user sessions. The Global.asax file is in the root application directory. While Visual Studio .NET automatically inserts it in all new ASP.NET projects, it's actually an optional file.|
|Legacy Article ID||a38742|