Regards, Sheo Narayan http://www.dotnetfunda.com
Regards, Sunil
Regards, Susan
syntax : Session["variable name"] = "Value"; Example : Session["Role"] = "Admin"; how to access this variable on page : if (Session["Role"]!=null) { label1.Text = Session["Role"]; } else Response.Redirect("login.aspx");
Tanisha Sayyad .Net and Android Developer INDIA(Andhra Pradesh)
Nitha Deepak
<configuration> <system.web> <sessionState cookieless="true" regenerateExpiredSessionId="true" /> </system.web> </configuration>
Login to post response