Why is my session variable being shared by multiple users in asp.net application

aznganster94

New Member
I have a session variable with a datatable assigned to it. For some reason the results from the datatable (display to user in a GridView) are being shared accross multiple users who are logged in. I thought each session was independent? So when one user makes changes then the other users see those results added to their results. Not sure why. I am not using Application variables.I initialize the Session variable in Global_asax, then populate it on a button command after the user has filled out the required entries.\[code\]Imports System.Web.SessionStatePublic Class Global_asax Inherits System.Web.HttpApplication Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) Session("RDDT") = New DataTable End SubEnd Class\[/code\]
 
Top