Is it possible to clear the cache of Firefox and Chrome browsers via Javascript? With Internet Explorer I can do it, but not the ones mentioned above.
Dude, it did not work, I think the problem occurs because unless the user logged in remember me ... but, the problem occurs only when I close the browser, if I click on exit it works normally.
Have you seen anything like this?
If the user checks the check box, I'll add a cookie:
if (model.RememberMe)
{
Response.Cookies["SistemaLeilao"].Value = model.UserName;
Response.Cookies["SistemaLeilao"].Expires = DateTime.Now.AddMinutes(5);
}
When I click on the exit and the logoff
is done, it works fillet, but when it closes the browser window without doing logoff
everything is saved, and that is what I am disturbing.