Hello,
I have minicart on master page.
i set default page is home.aspx
Once user run the application, home.aspx is showing along with master stuff as everyone knows.. RIGHT NOW mini cart is 0 WHICH IS on MASTER PAGE.
if user give add an item, minicart gets 1. they add one more different item again, So, now the minicart is 2. .. now user click on minicart button. now the web page is redirected into cart.aspx where user edit and delete.
now, they delete one item.. once they delete a item, i deleted in database too. now if you click home button, it is redirecting (i mean reloading), so i am making minicart to show 1.
But when user click back button of browser, the minicart was showing 2 though user deleted one item.. (page not reloading because of Browser caching)
So, to reload the page when user click back button, we will give
Response.Cache.SetNoStore();
But this will throw warning message which is annoying for the user.. or they may feel virus on website..
how can i handle this problem?
help needed.