title: Usage of Session object in ASP.NET
body: <p>I've just been given a new task to bootstrap a website created by someone else. But I'm absolutely new to Web. The website is in ASP.NET,C#. The code itself is not hard to understand except for the Session object. I don't understand where, how and why it's used.Could please someone explain the usage of Session object with a possible example?</p>
  
  <p>P.S. What would these two lines mean?</p>
  
  <pre><code>    lblPensValue.Text = sh.pensDec((string)Session["connSTR"], 113, 23);
  and
      if ((string)Session["connSTR"] == null)
  </code></pre>