Chapter 18PHP Sessions
Sessions are an invaluable tool to any web programmer who builds an application that is slightly more complicated than a search page. Communication on the web is stateless: As each page is called by the browser, the application starts fresh and does not keep the variables from the previous page visited by the user. Cookies were initially devised as a way to keep some variables persistent throughout the site. Cookies are small bits of text with expiration dates placed by a web site within your browser settings, and are accessible to the web server and your browser at any time. However, cookies are easily modifiable by the user and very limiting in the amount of data they can store. Therefore, sessions were invented that ...
Get FileMaker Web Publishing: A Complete Guide to Using the API for PHP 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.