Page 289 - DCAP408_WEB_PROGRAMMING
P. 289
Kumar Vishal, Lovely Professional University Unit 13: ASP Cookies and Caching
Unit 13: ASP Cookies and Caching Notes
CONTENTS
Objectives
Introduction
13.1 ASP Procedures
13.2 Cookies
13.2.1 Setting a Cookie
13.3 ASP File System
13.4 Send E-Mail
13.5 Caching
13.5.1 Fragment Caching, User Control Output Caching
13.5.2 Page Caching
13.5.3 Data Caching
13.6 Summary
13.7 Keywords
13.8 Review Questions
13.9 Further Readings
Objectives
After studying this unit, you will be able to:
Scan the ASP Procedures
Describe Cookies
Demonstrate the ASP file system
Recognize sending e-mail
Explain caching
Introduction
This unit on cookies will introduce you to what cookies are and how browsers use these cookies
for maintaining state for developing critical interactive applications. You will learn about
set-cookie and cookie fields, which are used to transfer information between the client and the
server.
13.1 ASP Procedures
In ASP you can call a JavaScript procedure from a VBScript and vice versa.
Procedures
The ASP source code can contain procedures and functions:
LOVELY PROFESSIONAL UNIVERSITY 283