Client notification, should I use an AJAX Push or Poll?

I’m surprised noone here has mentioned long-polling. Long polling means keeping an open connection for a longer period (say 30-60 seconds), and once it’s closed, re-opening it again, and simply having the socket/connection listen for responses. This results in less connections (but longer ones), and means that responses are almost immediate (some may have to … Read more

ASP.NET Push Redirect on Session Timeout

Usually, you set the session timeout, and you can additionally add a page header to automatically redirect the current page to a page where you clear the session right before the session timeout. From http://aspalliance.com/1621_Implementing_a_Session_Timeout_Page_in_ASPNET.2 namespace SessionExpirePage { public partial class Secure : System.Web.UI.MasterPage { public int SessionLengthMinutes { get { return Session.Timeout; } } … Read more