title: Asp.net-mvc: Calling Session_Start in global.asax
body: <p>I am using visual studio 2015 and asp.net mvc and I want to initialize a session variable in the Session Start method but im not sure about the signature of the method and i couldn't find documentation about it</p>
  
  <p>Here is what i have as of now in my global.asax file :</p>
  
  <pre><code> public void Session_Start()
      {
          InscriptionPaiementEntities dbm = new InscriptionPaiementEntities();
          var NbreItemMax = dbm.INSC_config.Where(p =&gt; p.NomParametre == 
           "NbreItemMax").FirstOrDefault();
          Session["NbreItemMax"] = NbreItemMax.Texte;
      }
  </code></pre>
  
  <p>Any Help would be gladly appreciated</p>