Hi
I am using the Forms Authentication with .Net 2
When using Firefox and Internet Explorer, I noticed that after logging in, then closing the browser, then going to a page again using browser history, it didn't ask to login again and it should
This is because it uses the browser history
So in the Page_load event, I have these lines of code to stop the pages been cached:
// clear out the cache
Response.ExpiresAbsolute =
DateTime.Now.AddDays(-1d);
Response.Expires = -1500;
Response.CacheControl = "no-cache";
This works for Internet Explorer and Firefox very well ie re-opening a web browser and using the browser history to go to a page, firsts takes you to the login form
However, testing this on the Apple Mac with Safari web brower, it doesn't - it ignores the login, and goes straight to the page
Can anyone advise on a fix for the Apple Mac Safari ie - a way to clear the browser history, and go to the login page first?
Thanks in advance