Session["User"] ="XXXX";
if(!IsPostBack) { if(Session["User"]! = null) { // Do what ever you want } else Response.Redirect("Login.aspx") }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)