title: Using session variable with ASP.Net membership provider
body: <p>I m using the Asp.net membership provider with my web application !</p>
  
  <p>I would like to know how to get the user ID and How and Where can I add code to the application to set same session variable On the User log on !
  This is the scenario :
  The user Logon,
  I catch his ID an the database
  I execute some query to set same session variable with data in relation with this user : Like name and other stuff from other table in relation with the user table !
  According to user data(role and other stuff), I redirects it to his own view or page.</p>
  
  <p>Thank you for helping me !</p>
  
  <p>PS :The membership system are using his own database : ASPNETDB.mdf !
  PSS: I m using C sharp !</p>