Share
VIDEOS 1 TO 50
Active Server Pages Tutorial ASP 101 Part 00 of 10: Introduction
Active Server Pages Tutorial ASP 101 Part 00 of 10: Introduction
Published: 2013/01/21
Channel: PC Learning Zone - Computer Training
Active Server Pages Tutorial ASP 101 Part 01 of 10: What is ASP?
Active Server Pages Tutorial ASP 101 Part 01 of 10: What is ASP?
Published: 2013/01/21
Channel: PC Learning Zone - Computer Training
Active Server Pages
Active Server Pages
Published: 2014/08/28
Channel: Audiopedia
ASP.NET: Understanding how ASP.NET works | lynda.com
ASP.NET: Understanding how ASP.NET works | lynda.com
Published: 2012/10/02
Channel: LinkedIn Learning Solutions
Difference between JSP and ASP - JSP VS ASP
Difference between JSP and ASP - JSP VS ASP
Published: 2016/10/18
Channel: Difference Between
Active Server Pages Tutorial ASP 101 Part 02 of 10: Your First Script
Active Server Pages Tutorial ASP 101 Part 02 of 10: Your First Script
Published: 2013/01/21
Channel: PC Learning Zone - Computer Training
Active Server Pages Tutorial ASP 101 Part 10 of 10: Review
Active Server Pages Tutorial ASP 101 Part 10 of 10: Review
Published: 2013/01/21
Channel: PC Learning Zone - Computer Training
Active Server Pages Tutorial ASP 101 Part 08 of 10: Form Input
Active Server Pages Tutorial ASP 101 Part 08 of 10: Form Input
Published: 2013/01/21
Channel: PC Learning Zone - Computer Training
Active Server Pages Start-up Tutorial.
Active Server Pages Start-up Tutorial.
Published: 2015/03/18
Channel: Pruthvi Mandaliya
What is ASP.NET? - ASP.NET Introduction with a Sample Program
What is ASP.NET? - ASP.NET Introduction with a Sample Program
Published: 2013/04/01
Channel: BestDotNetTraining
ASP Classic Lesson #1 (Creating Forms and Submission page)
ASP Classic Lesson #1 (Creating Forms and Submission page)
Published: 2012/01/06
Channel: Dark Effects Studios
Learn ASP.NET 2016 for beginners
Learn ASP.NET 2016 for beginners
Published: 2016/11/02
Channel: Hershey's Computing
How to run  asp file
How to run asp file
Published: 2012/09/19
Channel: Aasim Khan
ASP Active Server Page.flv
ASP Active Server Page.flv
Published: 2014/03/03
Channel: Apll India
Create ASP.NET web app and SQL Server database.
Create ASP.NET web app and SQL Server database.
Published: 2011/01/18
Channel: jeffnuck
Active Server Pages Tutorial ASP 101 Part 04 of 10: HTML Tags in ASP
Active Server Pages Tutorial ASP 101 Part 04 of 10: HTML Tags in ASP
Published: 2013/01/21
Channel: PC Learning Zone - Computer Training
A Review of Classic ASP
A Review of Classic ASP
Published: 2012/11/21
Channel: SetFocus1
Active Server Pages Tutorial ASP 101 Part 05 of 10: Variables & Loops
Active Server Pages Tutorial ASP 101 Part 05 of 10: Variables & Loops
Published: 2013/01/21
Channel: PC Learning Zone - Computer Training
Active Server Pages Tutorial ASP 101 Part 06 of 10: Math in ASP
Active Server Pages Tutorial ASP 101 Part 06 of 10: Math in ASP
Published: 2013/01/21
Channel: PC Learning Zone - Computer Training
HTML & ASP VBScript : Making a single user login form
HTML & ASP VBScript : Making a single user login form
Published: 2016/03/01
Channel: mjdwebdesign
Windows 10 IIS Installation For New Features And How To Get Your ASP Pages Running
Windows 10 IIS Installation For New Features And How To Get Your ASP Pages Running
Published: 2016/06/02
Channel: Dark Effects Studios
Build a CMS With ASP NET Web Pages - 2.1  Getting Started
Build a CMS With ASP NET Web Pages - 2.1 Getting Started
Published: 2015/04/15
Channel: Micro01
Quick start: Hosting your ASP.NET Website in IIS
Quick start: Hosting your ASP.NET Website in IIS
Published: 2014/07/08
Channel: Michael Kennedy
Chapter - 1 (Introduction of .NET) Mastering ASP.NET Video Series in HINDI
Chapter - 1 (Introduction of .NET) Mastering ASP.NET Video Series in HINDI
Published: 2012/01/28
Channel: Programming in Hindi
Active Server Pages Tutorial ASP 101 Part 03 of 10: Basic Commands
Active Server Pages Tutorial ASP 101 Part 03 of 10: Basic Commands
Published: 2013/01/21
Channel: PC Learning Zone - Computer Training
Active Server Pages Tutorial ASP 101 Part 09 of 10: QueryString
Active Server Pages Tutorial ASP 101 Part 09 of 10: QueryString
Published: 2013/01/21
Channel: PC Learning Zone - Computer Training
Active Server Pages Tutorial ASP 101 Part 07 of 10: If, Then, ElseIf
Active Server Pages Tutorial ASP 101 Part 07 of 10: If, Then, ElseIf
Published: 2013/01/21
Channel: PC Learning Zone - Computer Training
ASP Active Server Pages-Session-1(Part 1)
ASP Active Server Pages-Session-1(Part 1)
Published: 2015/06/13
Channel: V-LRN Videos
How to set up Classic ASP IIS Server in less than 2 minutes!
How to set up Classic ASP IIS Server in less than 2 minutes!
Published: 2012/02/18
Channel: netsrvcs
HTML Form to ASP (Email).
HTML Form to ASP (Email).
Published: 2010/11/24
Channel: Mathew Brown
Create a website with ASP.Net - Part 1
Create a website with ASP.Net - Part 1
Published: 2012/09/09
Channel: Michiel Wouters
ASP.NET Tutorial 1- Introduction and Creating Your First ASP.NET Web Site
ASP.NET Tutorial 1- Introduction and Creating Your First ASP.NET Web Site
Published: 2013/12/08
Channel: ProgrammingKnowledge
ASP.NET page life cycle events   Part 6
ASP.NET page life cycle events Part 6
Published: 2012/10/18
Channel: kudvenkat
Setting up connection string in ASP NET to SQL SERVER
Setting up connection string in ASP NET to SQL SERVER
Published: 2015/08/29
Channel: ProgramAdvance.org
ASP Classic Lessons #6 - Creating Connection to a SQL Server Database
ASP Classic Lessons #6 - Creating Connection to a SQL Server Database
Published: 2014/06/14
Channel: Dark Effects Studios
3 - ASP.NET Server and HTML Controls
3 - ASP.NET Server and HTML Controls
Published: 2012/06/11
Channel: easyaspnet
Installation of IIS in Windows 7 for ASP and ASP.Net
Installation of IIS in Windows 7 for ASP and ASP.Net
Published: 2012/03/06
Channel: Jatinder Pal Singh
Basic Controls in ASP.NET | ASP.Net Videos Tutorial for Beginners
Basic Controls in ASP.NET | ASP.Net Videos Tutorial for Beginners
Published: 2012/05/07
Channel: BestDotNetTraining
4ª de 8 aulas = Algoritmo - ASP - Active Server Page
4ª de 8 aulas = Algoritmo - ASP - Active Server Page
Published: 2010/09/13
Channel: Samuel Davi
Introduction to ASP.NET Web Forms: Viewstate
Introduction to ASP.NET Web Forms: Viewstate
Published: 2014/07/15
Channel: Marie Taylor
Part 147   Master pages in asp net
Part 147 Master pages in asp net
Published: 2013/10/11
Channel: kudvenkat
procedimientos almacenados en c# asp.net
procedimientos almacenados en c# asp.net
Published: 2014/03/22
Channel: JOSE CRUZ
Use ASP.NET 4.5 WebSockets the easy way
Use ASP.NET 4.5 WebSockets the easy way
Published: 2013/04/10
Channel: Pluralsight
Ejemplo de desarrollo de una aplicación en ASP.NET
Ejemplo de desarrollo de una aplicación en ASP.NET
Published: 2011/12/02
Channel: Diego Ponce
Connect To Mysql Database in ASP.Net
Connect To Mysql Database in ASP.Net
Published: 2013/07/08
Channel: Gautam Mokal
Windows 2008 R2 Server - Install IIS and setup ASP Classic to run
Windows 2008 R2 Server - Install IIS and setup ASP Classic to run
Published: 2016/07/13
Channel: Dark Effects Studios
SqlConnection in asp.net - Part 2
SqlConnection in asp.net - Part 2
Published: 2012/10/25
Channel: kudvenkat
How to host an ASP.NET website in IIS
How to host an ASP.NET website in IIS
Published: 2017/01/01
Channel: Codes Wizard
Tutorial asp .net (web forms) - Crear un menu de navegación en Master page
Tutorial asp .net (web forms) - Crear un menu de navegación en Master page
Published: 2012/11/03
Channel: latincoder
Fileupload control in asp.net   Part 30
Fileupload control in asp.net Part 30
Published: 2012/11/16
Channel: kudvenkat
NEXT
GO TO RESULTS [51 .. 100]

WIKIPEDIA ARTICLE

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Active Server Pages (ASP)
Developer(s) Microsoft
Stable release
3.0 / February 17, 2000; 17 years ago (2000-02-17)
Development status Active Server
Type Web application framework
License proprietary software
Website www.asp.net
Active Server Pages
Filename extension .asp
Developed by Microsoft

Active Server Pages (ASP), later known as Classic ASP or ASP Classic, is Microsoft's first server-side script engine for dynamically generated web pages.

ASP.NET, first released in January 2002, has superseded ASP.

History[edit]

Initially released as an add-on to Internet Information Services (IIS) via the Windows NT 4.0 Option Pack (ca. 1996), it is included as a free component of Windows Server (since the initial release of Windows 2000 Server). There have been three versions of ASP, each introduced with different versions of IIS:[1]

  • ASP 1.0 was released on December 1996 as part of IIS 3.0
  • ASP 2.0 was released on September 1997 as part of IIS 4.0
  • ASP 3.0 was released on November 2000 as part of IIS 5.0

ASP 2.0 provides six built-in objects: Application, ASPError, Request, Response, Server, and Session. Session object, for example, represents a session that maintains the state of variables from page to page.[2] The Active Scripting engine's support of the Component Object Model (COM) enables ASP websites to access functionality in compiled libraries such as DLLs.

ASP 3.0 does not differ greatly from ASP 2.0 but it does offer some additional enhancements such as Server.Transfer method, Server.Execute method, and an enhanced ASPError object. ASP 3.0 also enables buffering by default and optimized the engine for better performance.

ASP remains supported until 14 January 2020 on Windows 7.[3] The use of ASP pages will be supported on Windows 8 for a minimum of 10 years from the Windows 8 release date.[3]

Architecture[edit]

ASP uses server-side scripting to generate content that is sent to the client's web browser. The ASP interpreter reads and executes all script code between <% and %> tags, the result of which is content generation. These scripts were written using VBScript, JScript, or PerlScript. The @Language directive, the <script language="manu" runat="server" /> syntax or server configuration can be used to select the language. In the example below, Response.Write Now() is in an HTML page; it would be dynamically replaced by the current time of the server.

Server side What client receives
The server's current time:
<%
Response.Write Now()
%>
The server's current time:
8/11/2015 6:24:45 PM

Web pages with the .asp filename extension use ASP, although some web sites disguise their choice of scripting language for security purposes by using the more common .htm or .html extensions. Pages with the .aspx extension use compiled ASP.NET; however, ASP.NET pages may still include some ASP scripting. The introduction of ASP.NET led to use of the term Classic ASP for the original technology.

ASP runs only on Windows. A number of products emulate some of the functionality of Classic ASP on non-Microsoft web servers. Apache::ASP for example ports Classic ASP to the Apache Web Server, but can only interpret PerlScript.[4]

Sun Java System ASP (formerly ChiliSoft ASP) was a popular and reportedly complete emulator,[5] but it has been discontinued.

The Request object[edit]

Allows data to be read that was sent by the client browser: Form, Querystring, and HTTP Cookie. It also provides information on the server, the client browser, and retrieve HTTP Cookie stored on the visitor's machine. Can retrieve data from a form using both methods HTTP:

Request.Form reads data sent by POST.

Request.QueryString reads data sent by GET.

<%
Response.Write "Welcome " & Server.HTMLEncode(Request.QueryString("name")) & "!"
%>

The Response object[edit]

Can send information to the client, such as the writing of the text on a page or HTTP Cookie.

<%
If Len(Request.QueryString("name")) > 0 Then
     Response.Cookies("name") = Request.QueryString("name") 
End If

Response.Write "Welcome " & Server.HTMLEncode(Response.Cookies("name")) & "!"
%>

The Server object[edit]

Allows connections to databases (ADO), filesystem, and use of components installed on the server.

<%
Dim oAdoCon, oAdoRec, oAdoStm, oCdoCon, oCdoMsg, oSciDic, oSciFsm, oMswAdr

Set oAdoCon = Server.CreateObject("ADODB.Connection")
Set oAdoRec = Server.CreateObject("ADODB.Recordset")
Set oAdoStm = Server.CreateObject("ADODB.Stream")
Set oCdoCon = Server.CreateObject("CDO.Configuration")
Set oCdoMsg = Server.CreateObject("CDO.Message")
Set oSciDic = Server.CreateObject("Scripting.Dictionary")
Set oSciFsm = Server.CreateObject("Scripting.FileSystemObject")
Set oMswAdr = Server.CreateObject("MSWC.AdRotator")
%>

The Application object[edit]

Stores global variables.

<%
Application("Ali") = "My ASP Application"
Response.Write "Welcome to " & Server.HTMLEncode(Application("Ali")) & "!"
%>

The Session object[edit]

Stores variables accessible only to a single visitor.

<%
If Len(Request.QueryString("name")) > 0 Then
     Session("name") = Request.QueryString("name") 
End If

Response.Write "Welcome " & Server.HTMLEncode(Session("name")) & "!"
%>

The Err object[edit]

Allows the management of errors.

<%
On Error Resume Next

Response.Write 1 / 0 ' Division by zero

If Err.Number <> 0 Then
     Response.Write "Error Code: " & Server.HTMLEncode(Err.Number) & "<br />"
     Response.Write "Error Source: " & Server.HTMLEncode(Err.Source) & "<br />"
     Response.Write "Error Description: " & Server.HTMLEncode(Err.Description) & "<br />"
     Err.Clear 
End If 
%>

See also[edit]

References[edit]

  1. ^ http://www.visualsolutions-co.com/services/what-is-asp.php
  2. ^ The session data is kept server-side, the ID is saved as a HTTP Cookie. Source: ASP and Web Session Management, Microsoft
  3. ^ a b "Active Server Pages (ASP) support in Windows". Support (4.0 ed.). Microsoft. 30 January 2012. Retrieved 11 August 2015. 
  4. ^ "Apache::ASP". Retrieved 9 October 2013. 
  5. ^ Weissinger, Keyton (6 October 2009). ASP in a Nutshell: A Desktop Quick Reference. O'Reilly Media, Inc. ISBN 978-1-4493-7959-9. Retrieved 9 October 2013. 

External links[edit]

Disclaimer

None of the audio/visual content is hosted on this site. All media is embedded from other sites such as GoogleVideo, Wikipedia, YouTube etc. Therefore, this site has no control over the copyright issues of the streaming media.

All issues concerning copyright violations should be aimed at the sites hosting the material. This site does not host any of the streaming media and the owner has not uploaded any of the material to the video hosting servers. Anyone can find the same content on Google Video or YouTube by themselves.

The owner of this site cannot know which documentaries are in public domain, which has been uploaded to e.g. YouTube by the owner and which has been uploaded without permission. The copyright owner must contact the source if he wants his material off the Internet completely.

Powered by YouTube
Wikipedia content is licensed under the GFDL and (CC) license