protected void Page_Load(object sender, EventArgs e)
{
String message="this is a session debug :"+Session["loggeduername"];
Response.Write("<script>alert('"+message+"')</script>");
if (Session["loggeduername"]==null)
{
Response.Redirect("adminlogin.aspx");
}
}