In this video you will learn following things
– What is Session State
– Creating login logout system
– Session Abandon Method
– Session Timeout Setting
Important code used in this video
Session[“username”] = TextBox1.Text;
if(Session[“username”] == null)
{
Response.Redirect(“login.aspx”);
}
else
{
Label1.Text = Session[“username”].ToString();
}
Comments are closed.