Tuesday, March 31, 2009

Ch. 7 - Building Personalized Web Apps

This chapter talks about making a web application remember who you are by using sessions and cookies. 

Things learned:
setcookie() - this PHP code is used to set a cookie on the browser, you can provided a expiration date also in this code
$_cookie - array to store cookies
SHA (value) - encryption code to make data unrecognizable within database
session_start() - PHP code to start a new session
session_destroy () - this closes a session
$_session - array with each session data

No comments:

Post a Comment