Presenting By
----------
12###########
Under the Guidance of
#########
 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.
 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.
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
Browser Request
Web
server
HTML
File
Processi
ng
Memory_
ASP file
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.
 Commonly used for Interactivity.
Browser-dependent.
Viewable on client (Protecting source code).
Reduces the number of requests the server
receives.
 Greater flexibility .
Generate response for client.
Run exclusively on server .
Not visible to client.
 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>
 Naming variables in VBScript
 Contain 255 characters
 Must begin with an alphabetical
 Not case-sensitive
 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
 An HTTP document can contain both client-side
script (e.g., JavaScript) and server-side script (e.g.,
VBScript)
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
 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 .
 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.
 www.slide share.net
 www.windowsmedia .com
ACTIVE SERVER PAGES BY SAIKIRAN PANJALA

ACTIVE SERVER PAGES BY SAIKIRAN PANJALA

  • 1.
  • 2.
     Active serverpages 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 ASPfile 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 Introducedin 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
  • 5.
  • 6.
    Generates dynamic webpages 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 usedfor 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 isembedded 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 variablesin VBScript  Contain 255 characters  Must begin with an alphabetical  Not case-sensitive
  • 11.
     Each setof 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 HTTPdocument can contain both client-side script (e.g., JavaScript) and server-side script (e.g., VBScript)
  • 14.
    oRequest methods GET  Getsinformation 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 sessionobject 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 technologyis a server side programming developed to enable dynamic web pages. ASP developers can create a dynamic web page and make use of database access.
  • 17.
     www.slide share.net www.windowsmedia .com