What is the best approach to handle session timeouts in asp.net
问题 There are various ways to handle session timeouts, like \"meta refreshes\" javascript on load functions etc. I would like something neat like: 5 minutes before timeout, warn the user... I am also contemplating keeping the session open for as long as the browser is open(still need to figure out how to do it though... probably some iframe with refreshing). How do you handle session timeouts, and what direction do you think i should go in? 回答1: The best approach to handle sessions timeouts. I