Jump to content
Larry Ullman's Book Forums

Recommended Posts

My book is PHP 6 and MySQL 5, though it doesn't have an edition printed on it (copyright 2008). I might be in the wrong forum but the 3rd edition forum for this book doesn't seem to be active.


That said, I am in chapter 16, looking at the code for login.php. I can't find any code for setting cookies in it though the logout.php has the code for destroying the cookies. Unless my eyes have gone buggy, I just can't find it. It seems like the login relies just on sessions.


Also,  login.php page does print the text "Your browser must allow cookies in order to log in"


What am I missing?

Link to comment
Share on other sites


  • Create New...