AJAX seach on 404 error pages

01 August 2005   0 comments   Web development


Powered by Fusion×

This might not be new but I haven't seen it before. If you come across a page that doesn't exist on www.invms.co.uk it will show you a nice error page like so many other websites do, except that the IMS 404 error page is a bit more advanced. First of all it deconstructs the requested path and prepares that for a site search. This "suggest searchterm" is then also used to make an AJAX search (using tw-sack) asyncronously inside the browser but then only on the title of the various pages it can find.

The advantage of doing an AJAX search instead of a server-side search is that the page loads faster. First it loads the important message ("Page not found"), then as an added bonus it shows some additional help. It also means that all those portscanners and other phishers (who don't use webbrowsers to do their scanning) don't cause lots of excessive searches on the server.

To test this, go to a page that doesn't exist like http://www.invms.co.uk/Literature/foobar or http://www.invms.co.uk/IMS-Select-Funds/IMS-Select-Income-FundXXX

PS. Investment Manager Selection Limited is a client of my company Fry-IT


Thank you for posting a comment

Your email will never ever be published

Related posts

Just Oracle and IBM? 31 July 2005
Jealous of Google stemming 04 August 2005
Using Lovefield as an AJAX proxy maybe 30 September 2015
AJAX or not 22 December 2014
Lazy loading below the fold 26 October 2013
"Did you mean this domain?" Auto-correction for the browser's address bar 05 April 2013
XML header and childNodes 26 July 2007
IssueTrackerProduct featured on Ajaxian.com 26 January 2006
IssueTrackerProduct 0.7 released 16 December 2005
DOM Scripting 05 December 2005
IssueTrackerProduct feature list 02 December 2005
Python regular expression tester 19 September 2005