Student Menu. © Lesson 3. Printable layout. Links won't function in print.
Notes
Section
|
Main
Text
|
Module 3.0 |
Cookies. The Cookies Collection is used for long-term information storage, for example, after a user has left a web site. The server may read information from or write information to a user's cookie. Cookies link a user to a page request and help to store information between sessions. 1. Creating Cookies - The Cookies method of the Response Object writes cookies.
2. Using Keys - Keys allow for one cookie to store multiple values and are used to refer to one of these multiple values.
The HasKeys property returns a true or false value if the cookies holds multiple values.
3. Persistent Cookies - Unless you make cookies persist; that is,
write the cookie to the user's hard disk in the "cookie jar,"
the cookie's value will disappear as soon as the browser is closed or the
session expires. Set an expiration date to make cookies persist.
Relative expiration date (see the Date Function in the VBSLR):
Delete cookies by setting any date prior to "today":
Please read, outline and paraphrase Chapter Eight and review Appendix
A in the course textbook. Work the Try It Out project for
cookies with your own code if possible. |
|
2. The Application Object has four methods (or actions it can
do):
2.1. Lock - Prevents users from changing variables and causing data corruption.
Please read, outline and paraphrase Chapter Eight and review Appendix
A in the course textbook. Work the Try It Out project for the
Application Object with your own code if possible. |
|
1. In VBScript, the global.asa has four Event Handling Subroutines:
1.1. Application_OnStart - Runs once when the application starts. Good for initialization steps like database log-on information.
Please read, outline and paraphrase Chapter Eight and review Appendix
A in the course textbook. Work the Try It Out project for the
global.asa file with your own code if possible. |
|
1. Like the Application Object, the Session Object has two collections
(or parts):
2. The Session Object has four properties (or
characteristics):
2.1. SessionID - A read-only property that returns the session identification number for each user. 3. The Session Object has one method (or
action it can
do):
Please read, outline and paraphrase Chapter Eight and review Appendix
A in the course textbook. Work the Try It Out project for the
Session Object with your own code if possible. |
Module 3.4 |
Exercise 3.
|
Module 3.5 |
Quiz 3.
|