Session,Cache Problem
-
Hi I m using Login Control. Now When I use Administrator login it goes to default.aspx page and I am showing all links of the form. When I click on perticular link(Client.aspx) of the form it showing form details. Now I logout and login with different user. Instead of going to default.aspx page it showing previous page(Client.aspx) as administrator login & open that link. In the browsers address bar it showing that link of that page. that means my browser not clearing the even if I already written code to go to default page. How can I clear it? Thanks sjs
-
Hi I m using Login Control. Now When I use Administrator login it goes to default.aspx page and I am showing all links of the form. When I click on perticular link(Client.aspx) of the form it showing form details. Now I logout and login with different user. Instead of going to default.aspx page it showing previous page(Client.aspx) as administrator login & open that link. In the browsers address bar it showing that link of that page. that means my browser not clearing the even if I already written code to go to default page. How can I clear it? Thanks sjs
clear cache private void Page_Load(object sender, System.EventArgs e) { Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1)); Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetNoStore(); }
-
clear cache private void Page_Load(object sender, System.EventArgs e) { Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1)); Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetNoStore(); }
-
Hi I m using Login Control. Now When I use Administrator login it goes to default.aspx page and I am showing all links of the form. When I click on perticular link(Client.aspx) of the form it showing form details. Now I logout and login with different user. Instead of going to default.aspx page it showing previous page(Client.aspx) as administrator login & open that link. In the browsers address bar it showing that link of that page. that means my browser not clearing the even if I already written code to go to default page. How can I clear it? Thanks sjs