Session Not Working to show data
<p>My session does not working well. I tried to get the current user's record to be view to them using session in login page, but it showed nothing. This is my line of code that might give u a clue bout my prob. </p>

<pre><code> protected void LoginButton_Click(object sender, EventArgs e)
{
    Session["username"] = Login1.UserName;
}
</code></pre>

<p>The page should view the data in the gridview, so i set the setting of the girdview using data source by using session. But its not working at all. The gridview showed empty.</p>

<p>Thank you.</p>
