Performace Session Variable, Request String vs Local Variable
<p>I just picked up a project from previous developer, I notice in his code he load data into session variable in master page, and store it into master page's local variable for inherted pages to use it.</p>

<p>i.e:</p>

<p>in master page:</p>

<pre><code>public class Master_Page
{
   public string some_data = string.empty;

    public void Page_Load()
    {
        some_data = Session["some_data"];

    }
}

public class Inherted_Page : Page
{
    public void some_method()
    {
        Response.Write( ((Master_Page)Master).some_data );
    }
}
</code></pre>

<p>I wonder if that's because access to session variable takes longer than local variable?
And I wonder if that's the same for Request string?</p>
