vikram reddy

vikram reddy

  • NA
  • 14
  • 3.6k

How to specify session

Jun 11 2015 6:19 AM
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... 
 

Answers (9)