Both the Cookie and Session classes can be used to preserve certain data across subsequent page requests.

Versions:

  • Cookies

    A set of static methods for manipulating PHP cookies.

  • Sessions

    A set of static methods for manipulating PHP sessions.

API Documentation

Was this article helpful?