if i use this code on site.master.cs [WebMethod] public static void CheckSession() { if (Session[KaizenConstants.CURRENTLOGGEDINUSER] == null) { Response.Redirect("Login.aspx"); } } I am getting the error as : Error 69 An object reference is required for the non-static field, method, or property 'System.Web.UI.UserControl.Response.get'.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)