JavaScript Editor Javascript source editor     Web programming 



Team LiB
Previous Section Next Section

Q&A

Q

Should I be aware of any pitfalls with session functions?

A

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


    JavaScript Editor Javascript source editor     Web programming