10.6 ExercisesThis is NOT the latest copy of this book; click here for the latest version.
-
If cookies are disabled on a visitor's machine, should you try using sessions?
-
Sessions are terminated when your visitor navigates away from your site: true or false?
-
Because sessions are stored on your server, they are more secure: true or false?
-
You always need to call serialize() before storing an array in a session: true or false?
-
Which php.ini directive allows you to specify how long a session should be considered active?
-
If you are using a custom session data handler, what should the session read function return if no data exists for the current session?
|
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.
My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!
|