2. Active server pages ASP is a powerful tool
for making dynamic and interactive web pages.
Developing functionality in ASP websites is enabled
by the active scripting engine’s support of the
component object model(com), Active Server
Pages(ASP)is a server side scripting environment
that you can use to create and run dynamic.
3. An ASP file normally contains HTML tags just as a
standard HTML file. Server receives request and
directs it to ASP.
ASP processes , then returns result to client.
Pages are processed by an ActiveX
Component, called scripting engine.
4. ASP were Introduced in July 1996
Bundled with Internet Information Server (IIS) 3.0
in March 1997
ASP 2.0 introduced in 1998 Shipped with IIS 4.0
AS 3.0 shipped as part of Windows 2000 IIS 5.0
IIS 5.0 Includes ASP , VBScript engine , Jscript
engine
6. Generates dynamic web pages
Processes the contents of HTML forms
Creates database driven web pages
Create searchable web pages & send E-MAIL
Components of Web site includes server side
components created with Visual Basic ,C++ or
Java.
7. Commonly used for Interactivity.
Browser-dependent.
Viewable on client (Protecting source code).
Reduces the number of requests the server
receives.
8. Greater flexibility .
Generate response for client.
Run exclusively on server .
Not visible to client.
9. Client-side-script is embedded into the HTML file
using tags:
<script language =“Java script/ VB Script”>
{Java script/VBS code}
</script>
Server-side-script is embedded into the ASP file
using tags:
<script language=VB script/java script RunAt
SERVER=server>
{VB script/java script code}
</script>
10. Naming variables in VBScript
Contain 255 characters
Must begin with an alphabetical
Not case-sensitive
11. Each set of objects has a set of functions it can
perform called methods and one or more
properties
value = object . property
value = object . method()
Some newer objects at
http://msdn.microsoft.com/workshop/server/asp/co
mtutorial.asp
12. An HTTP document can contain both client-side
script (e.g., JavaScript) and server-side script (e.g.,
VBScript)
13.
14. oRequest methods
GET
Gets information from server
Retrieve HTML document or image
Send form content as part of the URL
POST
Sends data to server
Send info from HTML form
14
15. The session object is used to store information
about each user.
Common information stored in session variables
are user’s name , id and preferences.
The server creates a new session object for each
new user.
Destroy the session object when the session
expires or user logout .
16. ASP technology is a server side programming
developed to enable dynamic web pages. ASP
developers can create a dynamic web page and
make use of database access.