Q&A

Q1:

Should I be aware of any pitfalls with session functions?

A1:

The session functions are generally reliable. However, remember that cookies cannot be read across multiple domains, so if your project uses more than one domain name on the same server (perhaps as part of an e-commerce environment), you might need to consider disabling cookies for sessions by setting the

session.use_cookies

directive to 0 in the php.ini file.



    Part III: Getting Involved with the Code