title: Alternative to 'Session_Start' in MVC 6
body: <p>I'am trying to rewrite an old e-shop to MVC 6, and I'am solving a lot of problems. One of it is that I need to set up some default data when session is beginning. I found nothing usable for thins in MVC 6.
  I have multiple shops implemented as one application, and I need to set for example a ShopID when session is starting. Setting is by IP address. This is not the only thing I'am setting there, but its one of the most descriptive things. </p>
  
  <p>Do you have some idea how to implement this, or advice how to do it in different way ?</p>
  
  <p>Sample code from old implementation in global.asax:</p>
  
  <pre><code>    void Session_Start(object sender, EventArgs e) 
      {
      string url = Request.Url.Host;
      switch (url)
      {
      case "127.0.0.207":
      (SomeSessionObject)Session["SessionData"].ShopID = 123;
      break;
      case "127.0.0.210":
      (SomeSessionObject)Session["SessionData"].ShopID = 345;
      break;
      }
      }
  </code></pre>
  
  <p>This code i would like to write down somehow in MVC 6, but have no idea where to place it, or even if it is possible.</p>