Archive for May, 2008

Prevent session timeout in your ASP.NET AJAX application

Thursday, May 29th, 2008

Here's an interesting problem I encountered recently. With a traditional ASP.NET web application each time a user requests a page from the server, the server will reset the user's session timeout counter and hence prevent the user's session from timing out. However, suppose I have an AJAX.NET application which is ...

Accessing session state during an AJAX.net web service call

Thursday, May 29th, 2008

Ok, so you have an ASP.NET web application. From your client-side Javascript you're making an AJAX.NET callback to a web service on your web server. This is great but how do I access ASP.NET session state information from this seemingly isolated web service? My thoughts exactly... well fortunately, the answer ...

Javascript, the DOM, and memory leaks

Thursday, May 29th, 2008

Having recently starting implementing more Ajax into my web applications I discovered a new issue today that I've never considered or encountered before in my 10+ years of using Javascript; namely memory management and memory leaks. This is actually an issue involving both Javascript and the DOM.