Geeks With Blogs
Kalyan Krishna Kalyan's technology blog May 2008 Entries
Beware of saving IAsyncResult in a session variable
While working on an application, we had a certain page where we wanted to conduct a search that takes about 30-45 seconds to complete. To desist from holding the page output for all that while this search took place, we decided to make it look more interactive for the user using some nifty AJAX. The following are the steps we took.. Started the search on page load on a separate thread using BeginInvoke() The IAsyncResult returned by BeginInvoke() was saved in a session variable. An AJAX timer ......

Posted On Friday, May 16, 2008 10:56 AM

Copyright © Kalyan Krishna | Powered by: