0

I'm doing a project with asp.net webforms. And I've discovered something I can not understand. On a certain page I need to delete all session variables. To do this I use Session.Clear () in the Page_Load method. In all browsers except Safari the behavior is correct. Session.Clear () does its job and session variables are deleted. But in Safari on Mac OS X and iOS (Safari or Chrome, since iOS all use UIWebView) session variables are not deleted with the problem that this generates when using the go back or forward buttons. How is this possible if session variables are controlled from the server? Someone with the same problem? Any solution? Thank you very much in advance.

1 Answers1

0

The problem was Safari caching. I was able to solve the problem with this thread Preventing cache on back-button in Safari 5