[ Team LiB ] Previous Section Next Section

Q&A

Q1:

Are there any pitfalls with session functions I should be aware of?

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.


    [ Team LiB ] Previous Section Next Section