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

Versions:

This document contains information for an outdated version and may not be maintained any more. If some of your projects still use this version, consider upgrading as soon as possible.

  • 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?