Chapter 12. Cookies and Sessions
This chapter discusses how cookies and sessions support the reply and response model used by web applications. It demonstrates how to create and modify both cookies and sessions. Cookies are client-side information files. Cookies contain data supporting transactions across stateless HTTP network communication. Sessions are data entities and are stored as files or records in a database on the server. Sessions contain information you typically do not want to exchange between client and server, like user names and passwords.
The chapter is divided into three sections:
Defining and using cookies
Defining and using sessions
Applying cookies and sessions
Cookies and sessions work together to share data and build reliable ...
Get Oracle Database 10g Express Edition PHP Web Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.