Active Server Pages (ASP) is Microsoft's first server-side script engine for dynamically-generated web pages. Microsoft Corporation is an American multinational Computer technology Corporation, which rose to dominate the Home computer Server-side scripting is a Web server technology in which a user's request is fulfilled by running a script directly on the web server to generate dynamic HTML pages Active Scripting (formerly known as ActiveX Scripting) is the technology used in Windows to implement component-based scripting support It was initially marketed as an add-on to Internet Information Services (IIS) via the Windows NT 4. Internet Information Services ( IIS)&mdashformerly called Internet Information Server &mdashis a Microsoft -produced set of Internet-based services 0 Option Pack, but has been included as a free component of Windows Server since the initial release of Windows 2000 Server. Programming ASP websites is made easier by various built-in objects. A website (alternatively web site or Web site, a back-construction from the Proper noun World Wide Web) is a collection of Web pages In its simplest embodiment an object is an allocated region of storage Each object corresponds to a group of frequently-used functions useful for creating dynamic web pages. Classical Hypertext navigation occurs among In ASP 2. 0 there are six such built-in objects: Application, ASPError, Request, Response, Server, and Session. Session, for example, is a cookie-based session object that maintains variables from page to page. HTTP cookies, or more commonly referred to as Web cookies tracking cookies or just cookies are parcels of text sent by a server to a Web client (usually In Computer science, in particular networking, a session is a semi-permanent interactive information exchange also known as a dialogue a conversation or a meeting A variable (ˈvɛərɪəbl is an Attribute of a physical or an abstract System which may change its Value while it is under Observation. Web pages with the ". asp" or file extension use ASP, although some Web sites disguise their choice of scripting language for security purposes. A filename extension is a suffix to the name of a Computer file applied to indicate the encoding convention ( File format) of its contents The ". aspx" extension is not an ASP page, but an ASP.NET page, another server-side scripting language from Microsoft, based on a mixture of traditional ASP, and Microsoft's .NET technology. ASPNET is a Web application framework developed and marketed by Microsoft, that Programmers can use to build dynamic Web sites Web applications
Most ASP pages are written in VBScript, but any other Active Scripting engine can be selected instead by using the @Language directive or the <script language="language" runat="server"> syntax. VBScript (short for Visual Basic Scripting Edition) is an Active Scripting language developed by Microsoft. Active Scripting (formerly known as ActiveX Scripting) is the technology used in Windows to implement component-based scripting support JScript (Microsoft's implementation of ECMAScript) is the other language that is usually available. JScript is the Microsoft dialect of the ECMAScript Scripting language specification ECMAScript is a Scripting language, standardized by Ecma International in the ECMA-262 specification. PerlScript (a derivative of Perl) and others are available as third-party installable Active Scripting engines. PerlScript was initially solely an ActiveX Scripting Engine produced by the company ActiveState for use with Microsoft's Internet Information Services NOTES FOR EDITORS "Perl" is not an acronym (read the "Name" section below
Contents |
ASP was one of the first web application development environments that integrated web application execution directly into the web server. This was done in order to achieve high performance compared to calling external executable programs or CGI scripts which was the most popular method for writing web applications at the time it was introduced. Today there are additional platforms for web application development that are more common on other operating systems. Both JavaServer Pages and PHP are more commonly found on webservers running non-Microsoft operating systems, with PHP currently being the more common of the two. JavaServer Pages ( JSP) is a Java technology that allows Software developers to dynamically generate HTML, XML or other types of documents PHP is a computer Scripting language. Originally designed for producing Dynamic web pages it has evolved to include a Command line interface capability PHP is a computer Scripting language. Originally designed for producing Dynamic web pages it has evolved to include a Command line interface capability Also of note is ColdFusion, a popular Java technology running on several platforms including Microsoft servers as well as other platforms. This article is about the computer programming language For the nuclear reactions see Cold fusion.
Prior to Microsoft's release of ASP for IIS 3, programmers relied on IDC and HTX files combined with ODBC drivers to display and manipulate dynamic data and pages running on IIS. The basics of these file formats and structures were used, at least in part, in the implementation of the early versions of ASP.
InstantASP and ChilisoftASP are technologies that run ASP on platforms other than the Microsoft Windows Operating System. ChilisoftASP was purchased by Sun Microsystems and later renamed "Sun ONE Active Server Pages", then later renamed to "Sun Java System Active Server Pages". It appears that InstantASP is no longer available. There are large open source communities on the internet, such as ASPNuke, which produce ASP scripts, components and applications to be used free under certain license terms.
ASP has gone through three major releases:
ASP 3. 0 is currently available in IIS 6. 0 on Windows Server 2003 and IIS 7. 0 on Windows Server 2008.
ASP.NET is often confused as the newest release of ASP, but the technologies are very different. ASPNET is a Web application framework developed and marketed by Microsoft, that Programmers can use to build dynamic Web sites Web applications ASP. Net relies on the .Net Framework and is a compiled language, whereas ASP is strictly an interpreted scripting language.
The move from ASP 2. 0 to ASP 3. 0 was a relatively modest one. One of the most important additions was the Server.Execute methods, as well as the ASPError object. [1] Microsoft's What's New in IIS 5.0 lists some additional changes.
There are solutions to run "Classic ASP" sites as standalone applications, such as ASPexplore, a software package that runs Microsoft Active Server Pages offline.
Several scripting languages may be used in ASP. However, the default scripting language (in classic ASP) is VBScript:
Or in a simpler format
The examples above print "Hello World!" into the body of an HTML document.
Here's how to connect to an Access Database