Through the use of advanced scripting languages such as Active Server Pages (ASP), Perl, Java or ActiveX, complex functionality can be created for sites. Sites are able to interact with users, from gathering information, to providing real-time search results, to online shopping.