Hello Every One
How to specify session is web.config file so no need to write in each page
also how to redirect to login page if session is null
if(Session["name"] ==null)
{
Response.Redirect("Login.aspx");
}
but it not working in my code...
Plz check and replay for me...

Khan Abrar AhmedRank #778 · 3K reputationPosted Jun 11, 2015, 2:28 AM EDT
Saroj Kumar SahuRank #1,766 · 849 reputationPosted Jun 11, 2015, 2:33 AM EDT
vikram reddy14 reputationPosted Jun 11, 2015, 2:39 AM EDT
Saroj Kumar SahuRank #1,766 · 849 reputationPosted Jun 11, 2015, 2:47 AM EDT
vikram reddy14 reputationPosted Jun 11, 2015, 2:59 AM EDT
Saroj Kumar SahuRank #1,766 · 849 reputationPosted Jun 11, 2015, 3:09 AM EDT
Session.RemoveAll();Session.Abandon();Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jun 11, 2015, 4:54 AM EDT
Munesh SharmaRank #174 · 13.9K reputationPosted Jun 16, 2015, 2:30 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Jun 16, 2015, 2:37 AM EDT