priya ji...
have U written this...?
on
logout_Click
{
formsAuthentication.signout();
session.Abandon();
Response.Redirect("Login.aspx");
}
Now session is abandon So session variable wiil not have a value...
so u can redirect in Page_Load of Home.aspx
Page_Load
{
if(!isPostback)
{
if(Session("ESrNo")<=0)
{
Response.Redirect("Login.aspx");
}
}
}
Hope It Will Work...