Lecture 4: Cookies
- Created by: Jam_Sheets
- Created on: 24-05-18 15:50
Other questions in this quiz
2. Which of these is NOT a way cookies 'expire'?
- Tea Break - When a cookie is dipped into a cup of tea and consequently eaten.
- Natural Expire - Original expiry time set by the server/user agent
- Forced to Expire by a Web Server - New Expiry Time (CRUD Update)
- Manually Deleted by a User - Cookie Destroy
3. Which of these is NOT a typical scenario for cookies?
- Behaviour Tracker - Netmarketing, Google's Adsense.
- Small Widgets - View counters, last visit trackers, shopping carts.
- Kitchen Cupboard - Marylands, Fox's, Hobnobs.
- Specific Tracker - Amazon's personal recommendations.
4. Is HTTP Stateless?
- Yes - HTTP is stateless. This means that web servers don't have the memory of the status of a connection so every connection will be considered as a fresh connection by the server.
- No - HTTP is not stateless. This means that web servers don't have the memory of the status of a connection so every connection will be considered as a fresh connection by the server.
5. Which of these is not a property of HTTP being stateless?
- HTTP being stateless improves service efficiency as the server needs to respond to many connection requests at the same time.
- Cookies (formerly known as persistent client state objects). They let a web server place a small (token) file on the client's machine to enable the server to track and identify the client.
- HTTP being stateless is a problem due to it being very inconvenient & dangerous esepcially when dealing with transactions.
- Web servers don't have the memory of the status of a connection so every connection will be considered as a fresh connection by the server.
Comments
No comments have yet been made