SlideShare a Scribd company logo
INTERNET
PROGRAMMING
ACTIVE SERVER PAGE
(ASP)
INTRODUCTION
SCRIPT
PROCESSING

Client Side
Meaning: Processing
that are conducted at
the user’s
computer(browser)

Server Side
Hardware

Software
Script used: JavaScript

Web server  Internet
Information
Services(IIS)

Script used: ASP  VBscript
CLIENT SIDE
PROCESSING

Advantages

Disadvantages

Faster to display
output since workload
is distributed to user’s
PC

Cannot retain global
data

Customizeable output
– personalized
experienced

Cannot store data
from user into
database
SERVER SIDE
PROCESSING

Advantages

Data from user can be stored
into database. Eg: order,
reservation, feedback.

Web server controls user’s
browsing selection. Eg: If
certain pages are off-limit to
ordinary users, server-side
scripting can be employed to
block the pages from being
viewed by the user.

Disadvantages

The processing is centered at
the server  will put burden
of processing on the server
instead of the client.
IMPLEMENTING SERVER-SIDE
SCRIPTING (ISS)
• Web browser
request an ASP file
from the server

IIS

ASP
MODULE

IIS sends plain
HTML file to be
displayed in the
web browser
WWW
services

FTP
services

Gopher
Services

• Provide simple
document(textbase)over the
internet
a web page that is
processed by a web
server

a program that
runs inside a web
server (IIS/PWS)

What
is ASP

a Microsoft
Technology
Scripts in an ASP
file are executed
on the server

ISI
is Internet
Information
Services comes
as a free
component with
Windows 2000 &
Windows NT 4.0
option pack

PWS
is Personal
Web Page, a
smaller scale
version but
fully function
like IIS
JavaScript vs. VBScript
JavaScript is
larger and
more complex
language than
VBScript

JavaScript is, in
some ways, more
powerful than
VBScript

JS is an open
protocol. VBScript
is not

JavaScript
vs.
VBScript

JavaScript is more aware of
HTML than VBScript and has
numerous formatting and
parsing methods for creating
and analyzing HTML tags

JS is case
sensitive.
VBScript is
not
Basic ASP Scripting Style
It begins with
(for JavaScript)
<%@language=
JavaScript%>

we must put tag

<%…………%>
and start writing
code between
the tags

Server side scripting is
a script that is
executed by the web
server, then the results
of which are passed on
to the calling client
STYLE OF WRITING SCRIPTS

indicate inline server
side script in your page
by placng the
programming
statements between the
following tags <% %>

WRITING
INLINE
SCRIPTS
server side scripting
engine in the order that
it appears in the ASP
page executes the script
INTERPERSING
INLINE
SCRIPTS

intersperse inline
script within an ASP

The script is
executed in the
order in which it is
encountered
Working
with ASP
Object
Response object

Server object

Use to access
information
passed by HTTP
requestc

Use to access methods
and properties on the
server

Request object
Used to control the
information sent to
the client
Analogy
The best way to understand these two objects is to think of a
telephone call.
When u place a call, u are requesting that someone on the
other end of the line pick up the phone.
When that person answers the phone, he/she issues a response
to your request (the ringing phone).

Depending on what the person says, you process the results of
your request by taking specific actions depending on whom you
are talking to and for what purpose.
Request Object Collection
Client Certificate

• User certificate is required for
access to the page

Cookies

• Cookies are sent to the server for
examination

Form

• Takes all values passed by html form

QueryString

• Makes available to the web server all
values contained

Server Variables

• Makes available all the HTTP header values
as sent by the user with the request.

More Related Content

PPT
Data independence
Aashima Wadhwa
 
PDF
Html frames
eShikshak
 
PPTX
Sorting and Filtering.pptx
DrAbhishekKumarSingh3
 
PPT
Email & internet
smartware
 
PPTX
Query processing and Query Optimization
Niraj Gandha
 
PPTX
Structured Query Language (SQL)
Syed Hassan Ali
 
PPTX
uniform resource locator
rajshreemuthiah
 
PPT
Javascript
mussawir20
 
Data independence
Aashima Wadhwa
 
Html frames
eShikshak
 
Sorting and Filtering.pptx
DrAbhishekKumarSingh3
 
Email & internet
smartware
 
Query processing and Query Optimization
Niraj Gandha
 
Structured Query Language (SQL)
Syed Hassan Ali
 
uniform resource locator
rajshreemuthiah
 
Javascript
mussawir20
 

What's hot (20)

PPT
DBMS PPT
Prabhu Goyal
 
PPT
Active server pages
mcatahir947
 
PPTX
html-table
Dhirendra Chauhan
 
PPTX
Html images syntax
JayjZens
 
PPTX
Html-list
Dhirendra Chauhan
 
PPTX
Loops in java script
Ravi Bhadauria
 
PPTX
Popup boxes
sonal bisla
 
PPTX
data manipulation language
JananiSelvaraj10
 
PPTX
Excel PowerPoint
nhumar
 
PPTX
Html basic tags
umesh patil
 
PPTX
Ms excel
Kuriachan Manuel
 
PPTX
Introduction to database
Arpee Callejo
 
PPT
Web Development using HTML & CSS
Shashank Skills Academy
 
PDF
Sql commands
Prof. Dr. K. Adisesha
 
PPTX
Database and types of database
baabtra.com - No. 1 supplier of quality freshers
 
PDF
Microsoft Powerpoint Basics
Pickerington Public Library
 
PPT
MYSQL - PHP Database Connectivity
V.V.Vanniaperumal College for Women
 
PPTX
HTML
chinesebilli
 
PDF
File Naming Conventions
Narendra Singh
 
PPTX
Learning power point 2016
Aakanksha Shrivastava
 
DBMS PPT
Prabhu Goyal
 
Active server pages
mcatahir947
 
html-table
Dhirendra Chauhan
 
Html images syntax
JayjZens
 
Loops in java script
Ravi Bhadauria
 
Popup boxes
sonal bisla
 
data manipulation language
JananiSelvaraj10
 
Excel PowerPoint
nhumar
 
Html basic tags
umesh patil
 
Introduction to database
Arpee Callejo
 
Web Development using HTML & CSS
Shashank Skills Academy
 
Sql commands
Prof. Dr. K. Adisesha
 
Database and types of database
baabtra.com - No. 1 supplier of quality freshers
 
Microsoft Powerpoint Basics
Pickerington Public Library
 
MYSQL - PHP Database Connectivity
V.V.Vanniaperumal College for Women
 
File Naming Conventions
Narendra Singh
 
Learning power point 2016
Aakanksha Shrivastava
 
Ad

Viewers also liked (11)

PPT
Active Server Page(ASP)
Keshab Nath
 
PPT
ASP
Ramasubbu .P
 
PPTX
Asp objects
Kavya Bhaisora
 
PPTX
Active server pages
student
 
PPS
Jsp chapter 1
kamal kotecha
 
PPT
Active x
andrew20827
 
PPTX
Implicit objects advance Java
Darshit Metaliya
 
PPT
Active x control
Amandeep Kaur
 
PPTX
ASP, ASP.NET, JSP, COM/DCOM
Aashish Jain
 
PPS
Jsp element
kamal kotecha
 
PPTX
Client side scripting and server side scripting
baabtra.com - No. 1 supplier of quality freshers
 
Active Server Page(ASP)
Keshab Nath
 
Asp objects
Kavya Bhaisora
 
Active server pages
student
 
Jsp chapter 1
kamal kotecha
 
Active x
andrew20827
 
Implicit objects advance Java
Darshit Metaliya
 
Active x control
Amandeep Kaur
 
ASP, ASP.NET, JSP, COM/DCOM
Aashish Jain
 
Jsp element
kamal kotecha
 
Client side scripting and server side scripting
baabtra.com - No. 1 supplier of quality freshers
 
Ad

Similar to Introduction ASP (20)

PDF
DYNAMIC CONTENT TECHNOLOGIES ASP(ACTIVE SERVER PAGES)
Prof Ansari
 
PPTX
CLIENT SIDE PROCESSING.pptx
agniva pradhan
 
PPT
Rutgers - Active Server Pages
Michael Dobe, Ph.D.
 
PPTX
Walther Ajax4
rsnarayanan
 
PPSX
13 asp.net session19
Vivek Singh Chandel
 
PPTX
Server and Client side comparision
Stew Duncan
 
PDF
Intro To Asp
Adil Jafri
 
PPTX
Week one presentation principles of web server scripting
John Robinson
 
PPTX
Introduction to ASP.NET
Peter Gfader
 
PPT
DevNext - Web Programming Concepts Using Asp Net
Adil Mughal
 
PPTX
My Presentation On Ajax
Ghaffar Khan
 
PPT
Scripting Languages
Forrester High School
 
PPTX
Client&server side scripting
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
New microsoft office power point presentation
teach4uin
 
PPT
Learn ASP
gurchet
 
PPTX
Overview of ASP.Net by software outsourcing company india
Jignesh Aakoliya
 
PPTX
Asp introduction
Sireesh K
 
PPT
Web server
Sajan Sahu
 
PPTX
Client control
Sireesh K
 
PPTX
Client and server side scripting
baabtra.com - No. 1 supplier of quality freshers
 
DYNAMIC CONTENT TECHNOLOGIES ASP(ACTIVE SERVER PAGES)
Prof Ansari
 
CLIENT SIDE PROCESSING.pptx
agniva pradhan
 
Rutgers - Active Server Pages
Michael Dobe, Ph.D.
 
Walther Ajax4
rsnarayanan
 
13 asp.net session19
Vivek Singh Chandel
 
Server and Client side comparision
Stew Duncan
 
Intro To Asp
Adil Jafri
 
Week one presentation principles of web server scripting
John Robinson
 
Introduction to ASP.NET
Peter Gfader
 
DevNext - Web Programming Concepts Using Asp Net
Adil Mughal
 
My Presentation On Ajax
Ghaffar Khan
 
Scripting Languages
Forrester High School
 
New microsoft office power point presentation
teach4uin
 
Learn ASP
gurchet
 
Overview of ASP.Net by software outsourcing company india
Jignesh Aakoliya
 
Asp introduction
Sireesh K
 
Web server
Sajan Sahu
 
Client control
Sireesh K
 
Client and server side scripting
baabtra.com - No. 1 supplier of quality freshers
 

Recently uploaded (20)

PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PDF
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
PDF
Mga Unang Hakbang Tungo Sa Tao by Joe Vibar Nero.pdf
MariellaTBesana
 
PPTX
Congenital Hypothyroidism pptx
AneetaSharma15
 
PPTX
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
DOCX
UPPER GASTRO INTESTINAL DISORDER.docx
BANDITA PATRA
 
PDF
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
Sandeep Swamy
 
PDF
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
PDF
Landforms and landscapes data surprise preview
jpinnuck
 
PDF
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
PDF
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
PDF
The Final Stretch: How to Release a Game and Not Die in the Process.
Marta Fijak
 
PDF
Electricity-Magnetic-and-Heating-Effects 4th Chapter/8th-science-curiosity.pd...
Sandeep Swamy
 
PPTX
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
PPTX
Open Quiz Monsoon Mind Game Prelims.pptx
Sourav Kr Podder
 
PPTX
IMMUNIZATION PROGRAMME pptx
AneetaSharma15
 
PPTX
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
PPTX
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
PPTX
Open Quiz Monsoon Mind Game Final Set.pptx
Sourav Kr Podder
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
Mga Unang Hakbang Tungo Sa Tao by Joe Vibar Nero.pdf
MariellaTBesana
 
Congenital Hypothyroidism pptx
AneetaSharma15
 
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
UPPER GASTRO INTESTINAL DISORDER.docx
BANDITA PATRA
 
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
Sandeep Swamy
 
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
Landforms and landscapes data surprise preview
jpinnuck
 
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
The Final Stretch: How to Release a Game and Not Die in the Process.
Marta Fijak
 
Electricity-Magnetic-and-Heating-Effects 4th Chapter/8th-science-curiosity.pd...
Sandeep Swamy
 
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
Open Quiz Monsoon Mind Game Prelims.pptx
Sourav Kr Podder
 
IMMUNIZATION PROGRAMME pptx
AneetaSharma15
 
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
Open Quiz Monsoon Mind Game Final Set.pptx
Sourav Kr Podder
 

Introduction ASP

  • 2. INTRODUCTION SCRIPT PROCESSING Client Side Meaning: Processing that are conducted at the user’s computer(browser) Server Side Hardware Software Script used: JavaScript Web server  Internet Information Services(IIS) Script used: ASP  VBscript
  • 3. CLIENT SIDE PROCESSING Advantages Disadvantages Faster to display output since workload is distributed to user’s PC Cannot retain global data Customizeable output – personalized experienced Cannot store data from user into database
  • 4. SERVER SIDE PROCESSING Advantages Data from user can be stored into database. Eg: order, reservation, feedback. Web server controls user’s browsing selection. Eg: If certain pages are off-limit to ordinary users, server-side scripting can be employed to block the pages from being viewed by the user. Disadvantages The processing is centered at the server  will put burden of processing on the server instead of the client.
  • 5. IMPLEMENTING SERVER-SIDE SCRIPTING (ISS) • Web browser request an ASP file from the server IIS ASP MODULE IIS sends plain HTML file to be displayed in the web browser
  • 7. a web page that is processed by a web server a program that runs inside a web server (IIS/PWS) What is ASP a Microsoft Technology Scripts in an ASP file are executed on the server ISI is Internet Information Services comes as a free component with Windows 2000 & Windows NT 4.0 option pack PWS is Personal Web Page, a smaller scale version but fully function like IIS
  • 8. JavaScript vs. VBScript JavaScript is larger and more complex language than VBScript JavaScript is, in some ways, more powerful than VBScript JS is an open protocol. VBScript is not JavaScript vs. VBScript JavaScript is more aware of HTML than VBScript and has numerous formatting and parsing methods for creating and analyzing HTML tags JS is case sensitive. VBScript is not
  • 9. Basic ASP Scripting Style It begins with (for JavaScript) <%@language= JavaScript%> we must put tag <%…………%> and start writing code between the tags Server side scripting is a script that is executed by the web server, then the results of which are passed on to the calling client
  • 10. STYLE OF WRITING SCRIPTS indicate inline server side script in your page by placng the programming statements between the following tags <% %> WRITING INLINE SCRIPTS server side scripting engine in the order that it appears in the ASP page executes the script
  • 11. INTERPERSING INLINE SCRIPTS intersperse inline script within an ASP The script is executed in the order in which it is encountered
  • 12. Working with ASP Object Response object Server object Use to access information passed by HTTP requestc Use to access methods and properties on the server Request object Used to control the information sent to the client
  • 13. Analogy The best way to understand these two objects is to think of a telephone call. When u place a call, u are requesting that someone on the other end of the line pick up the phone. When that person answers the phone, he/she issues a response to your request (the ringing phone). Depending on what the person says, you process the results of your request by taking specific actions depending on whom you are talking to and for what purpose.
  • 14. Request Object Collection Client Certificate • User certificate is required for access to the page Cookies • Cookies are sent to the server for examination Form • Takes all values passed by html form QueryString • Makes available to the web server all values contained Server Variables • Makes available all the HTTP header values as sent by the user with the request.