Dan, Instead of doing a search on each key press, you could get the whole address book for them in an xml doc and read from that. Much more efficient than going to the server as the data would already be on the client side.
Paul. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of dhnriverside Sent: 18 May 2006 10:26 To: Ajax.NET Professional Subject: [ajaxpro] AJAX suggest code causing IIS Worker Process crash? Hi guys We've got a number of places on our intranet with a Google-suggest style system for finding Contacts, etc. It works great, and has been running on my development server for a few months. However, we put it on the production server, and after a day of use we got an IIS Worker Process crash, we restarted IIS and it seemed fine, and then the server died completely! As far as I can tell, because of the way users were searching, it was firing loads of requests at the server. Instead of hitting one key, they'd type a name (therefore causing loads of requests), and then the server was working, and they thought it wasn't doing anytihng, so they pressed delete loads of times to clear the search, of course causing a load of other requests! Could the IIS Worker problem be caused by that first of all? And has anybody got any suggestions as to how we can delay sending the requests until they've finished typing, or there's a gap or something. Thoughts welcome! Cheers, Dan. ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. ______________________________________________________________________ _______________________________________________________________________This e-mail and all attachments have been scanned by a virus scanning service powered by MessageLabs and no known viruses were detected. ______________________________________________________________________ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ajaxpro The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info -~----------~----~----~----~------~----~------~--~---
