Using sessions
Sessions are great for storing temporary data about your visitors, particularly when you do not want that data to be accessible from outside of your server. Using sessions before PHP 4.1 was much harder than it is today - if you are used to having to use functions to set and unset session variables, you should pay extra-special attention to this text on sessions, because things have changed substantially as a result of the superglobal $_SESSION array.



Copyright 2012 Future Publishing Limited (company
registered number 2008885), a company registered
in England and Wales whose registered office is at
Beauford Court, 30 Monmouth Street, Bath, BA1 2BW, UK