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

What's hot (8)

Web publishing
Web publishingWeb publishing
Web publishing
Kanav Sood
 
Linq to sql
Linq to sqlLinq to sql
Linq to sql
Shivanand Arur
 
Kafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open Web
Kafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open WebKafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open Web
Kafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open Web
HostedbyConfluent
 
Flask
FlaskFlask
Flask
Mamta Kumari
 
Difference between-web-designing-and-web-development
Difference between-web-designing-and-web-developmentDifference between-web-designing-and-web-development
Difference between-web-designing-and-web-development
Global Media Insight
 
ppt of web designing and development
ppt of web designing and developmentppt of web designing and development
ppt of web designing and development
47ishu
 
Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2
sandeep54552
 
slingmodels
slingmodelsslingmodels
slingmodels
Ankur Chauhan
 
Web publishing
Web publishingWeb publishing
Web publishing
Kanav Sood
 
Kafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open Web
Kafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open WebKafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open Web
Kafka and GraphQL: Misconceptions and Connections | Gerard Klijs, Open Web
HostedbyConfluent
 
Difference between-web-designing-and-web-development
Difference between-web-designing-and-web-developmentDifference between-web-designing-and-web-development
Difference between-web-designing-and-web-development
Global Media Insight
 
ppt of web designing and development
ppt of web designing and developmentppt of web designing and development
ppt of web designing and development
47ishu
 
Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2
sandeep54552
 

Viewers also liked (12)

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

Similar to Introduction ASP (20)

Learn ASP
Learn ASPLearn ASP
Learn ASP
gurchet
 
Client side &amp; Server side Scripting
Client side &amp; Server side Scripting Client side &amp; Server side Scripting
Client side &amp; Server side Scripting
Webtech Learning
 
Week one presentation principles of web server scripting
Week one presentation   principles of web server scriptingWeek one presentation   principles of web server scripting
Week one presentation principles of web server scripting
John Robinson
 
Client & server side scripting
Client & server side scriptingClient & server side scripting
Client & server side scripting
baabtra.com - No. 1 supplier of quality freshers
 
CLIENT SIDE PROCESSING.pptx
CLIENT SIDE PROCESSING.pptxCLIENT SIDE PROCESSING.pptx
CLIENT SIDE PROCESSING.pptx
agniva pradhan
 
Server and Client side comparision
Server and Client side comparisionServer and Client side comparision
Server and Client side comparision
Stew Duncan
 
Scripting Languages
Scripting LanguagesScripting Languages
Scripting Languages
Forrester High School
 
Client and server side scripting
Client and server side scriptingClient and server side scripting
Client and server side scripting
baabtra.com - No. 1 supplier of quality freshers
 
Active Server Page - ( ASP )
Active Server Page - ( ASP )Active Server Page - ( ASP )
Active Server Page - ( ASP )
MohitJoshi154
 
Client Side scripting and server side scripting
Client Side scripting and server side scriptingClient Side scripting and server side scripting
Client Side scripting and server side scripting
baabtra.com - No. 1 supplier of quality freshers
 
Web technology.pptx
Web technology.pptxWeb technology.pptx
Web technology.pptx
SindhuVelmukull
 
asp_intro.pptx
asp_intro.pptxasp_intro.pptx
asp_intro.pptx
vijayalakshmi257551
 
Web server
Web serverWeb server
Web server
Sajan Sahu
 
ACTIVE SERVER PAGES BY SAIKIRAN PANJALA
ACTIVE SERVER PAGES BY SAIKIRAN PANJALAACTIVE SERVER PAGES BY SAIKIRAN PANJALA
ACTIVE SERVER PAGES BY SAIKIRAN PANJALA
Saikiran Panjala
 
Web development revolution
Web development revolutionWeb development revolution
Web development revolution
Ahmed El-Zekred
 
Opr089 xx
Opr089 xxOpr089 xx
Opr089 xx
Tobie Tlm
 
CHAPTER 3 JS (1).pptx
CHAPTER 3  JS (1).pptxCHAPTER 3  JS (1).pptx
CHAPTER 3 JS (1).pptx
achutachut
 
Asp introduction
Asp introductionAsp introduction
Asp introduction
Abhishek Kesharwani
 
Client and server side processing h446 ocr Alevel
Client and server side processing h446 ocr AlevelClient and server side processing h446 ocr Alevel
Client and server side processing h446 ocr Alevel
inzzepindu
 
Chapter1
Chapter1Chapter1
Chapter1
krobinson937
 
Ad

Recently uploaded (20)

Strengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptxStrengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptx
SteffMusniQuiballo
 
Parenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independenceParenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independence
Pooky Knightsmith
 
Black and White Illustrative Group Project Presentation.pdf (1).pdf
Black and White Illustrative Group Project Presentation.pdf (1).pdfBlack and White Illustrative Group Project Presentation.pdf (1).pdf
Black and White Illustrative Group Project Presentation.pdf (1).pdf
AnnasofiaUrsini
 
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
parmarjuli1412
 
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
Quiz Club of PSG College of Arts & Science
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
EduSkills OECD
 
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptxDiptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Arshad Shaikh
 
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
National Information Standards Organization (NISO)
 
How to Create Quotation Templates Sequence in Odoo 18 Sales
How to Create Quotation Templates Sequence in Odoo 18 SalesHow to Create Quotation Templates Sequence in Odoo 18 Sales
How to Create Quotation Templates Sequence in Odoo 18 Sales
Celine George
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti MpdBasic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
Allomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdfAllomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdf
Abha Pandey
 
Analysis of Quantitative Data Parametric and non-parametric tests.pptx
Analysis of Quantitative Data Parametric and non-parametric tests.pptxAnalysis of Quantitative Data Parametric and non-parametric tests.pptx
Analysis of Quantitative Data Parametric and non-parametric tests.pptx
Shrutidhara2
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
Rose Cultivation Practices by Kushal Lamichhane.pdf
Rose Cultivation Practices by Kushal Lamichhane.pdfRose Cultivation Practices by Kushal Lamichhane.pdf
Rose Cultivation Practices by Kushal Lamichhane.pdf
kushallamichhame
 
Hemiptera & Neuroptera: Insect Diversity.pptx
Hemiptera & Neuroptera: Insect Diversity.pptxHemiptera & Neuroptera: Insect Diversity.pptx
Hemiptera & Neuroptera: Insect Diversity.pptx
Arshad Shaikh
 
What are the benefits that dance brings?
What are the benefits that dance brings?What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
june 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptxjune 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptx
roger malina
 
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
GeorgeDiamandis11
 
Strengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptxStrengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptx
SteffMusniQuiballo
 
Parenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independenceParenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independence
Pooky Knightsmith
 
Black and White Illustrative Group Project Presentation.pdf (1).pdf
Black and White Illustrative Group Project Presentation.pdf (1).pdfBlack and White Illustrative Group Project Presentation.pdf (1).pdf
Black and White Illustrative Group Project Presentation.pdf (1).pdf
AnnasofiaUrsini
 
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
parmarjuli1412
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
EduSkills OECD
 
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptxDiptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Arshad Shaikh
 
How to Create Quotation Templates Sequence in Odoo 18 Sales
How to Create Quotation Templates Sequence in Odoo 18 SalesHow to Create Quotation Templates Sequence in Odoo 18 Sales
How to Create Quotation Templates Sequence in Odoo 18 Sales
Celine George
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti MpdBasic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
Allomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdfAllomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdf
Abha Pandey
 
Analysis of Quantitative Data Parametric and non-parametric tests.pptx
Analysis of Quantitative Data Parametric and non-parametric tests.pptxAnalysis of Quantitative Data Parametric and non-parametric tests.pptx
Analysis of Quantitative Data Parametric and non-parametric tests.pptx
Shrutidhara2
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
Rose Cultivation Practices by Kushal Lamichhane.pdf
Rose Cultivation Practices by Kushal Lamichhane.pdfRose Cultivation Practices by Kushal Lamichhane.pdf
Rose Cultivation Practices by Kushal Lamichhane.pdf
kushallamichhame
 
Hemiptera & Neuroptera: Insect Diversity.pptx
Hemiptera & Neuroptera: Insect Diversity.pptxHemiptera & Neuroptera: Insect Diversity.pptx
Hemiptera & Neuroptera: Insect Diversity.pptx
Arshad Shaikh
 
What are the benefits that dance brings?
What are the benefits that dance brings?What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
june 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptxjune 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptx
roger malina
 
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
GeorgeDiamandis11
 

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.