WP TutorialLesson 8Free preview
WebPages Objects
This lesson is part of ASP · All levels
Summary
Web Pages provide in-built objects that are ready to use without import, such as Request, Response, Server, Session, and Application. Request objects handle incoming data from clients, Response sends feedback to the browser, while the Server provides utilities such as MapPath. Recognizing the role of each object makes writing web logic more efficient.
Key points
- Requests contain client data: form, query string, cookies, and header.
- The response controls the output sent to the browser including redirect.
- The server provides a helper like MapPath to change the virtual path.
- Session and Application store data that lasts longer on the server side.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.