title: Why is my session variable being shared by multiple users in asp.net application
body: <p>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.</p>
  
  <p>I initialize the Session variable in Global_asax, then populate it on a button command after the user has filled out the required entries.</p>
  
  <pre><code>Imports System.Web.SessionState
  
  Public Class Global_asax
    Inherits System.Web.HttpApplication
  
    Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
      Session("RDDT") = New DataTable
    End Sub
  
  End Class
  </code></pre>