Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Object Model Introduction - E-Commerce - Lecture Slides, Slides of Fundamentals of E-Commerce

E-Commerce is a growing and dynamic field. It is of special concern for the IT students. Following are the fundamental aspects of these Lecture Slides : Object Model, Language, Runat, Cript, Body, Programming Language, Scripting Languages, Model Provides, Complexities, Server Programming

Typology: Slides

2012/2013

Uploaded on 07/30/2013

ekyan
ekyan 🇮🇳

4.7

(10)

156 documents

1 / 14

Toggle sidebar

Related documents


Partial preview of the text

Download Object Model Introduction - E-Commerce - Lecture Slides and more Slides Fundamentals of E-Commerce in PDF only on Docsity! Server-Side Web Programming with Active Server Pages Basic ASP Output Docsity.com ASP Object Model Introduction Client Server Server Object Application Object Session Object Response Object Request Object Object Context Object Docsity.com Response Object Overview • Definition – The response object provides various facilities for sending content to the client • Example – Create a paragraph that says Moo! Response.Write "<p>Moo!</p>" – Create the expiration meta element to expire in 5 minutes. Response.expires = 5 Docsity.com Basic Output • Write Method – This is the #1 method you will use. It takes a string as an argument and passes it literary to the client for interpretation. – For putting single variables to a page some people prefer to use <% = myVar %> – Response.write "<p>" & myVar & "</p> is equivalent to <p><% =myVar %></p> Docsity.com Demo - 1 "Hello World" <%@ language=VBScript %> <html> <head> <title>Hello World</title> </head> <body> <% Response.Write "Hello World" %> </body> </html> Docsity.com Flow Control Response.End • Stop any further processing of page and send the current buffer to the client. Response.Clear • Clear the existing buffer contents. Nothing sent to client. Response.Flush • Send the current buffer to the client now. Docsity.com Flow Control Response.Redirect • Redirects the client's request to another URL. • MUST use buffering (response.buffer=true) to use this method. • Note this sends a HTTP response to client. • IIS 5 has new methods for dealing with this. Response.Redirect "http://valtara.com" Docsity.com BinaryWrite Method • Almost never used. • Used when you don't want the response object to "interpret" the output before it goes to the browser. • Handy for sending streaming content from an application via http: to a specially written waiting client. Docsity.com
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved