The session support can be turned on automatically at the site level, or manually in each PHP page script:
- Turning on session support automatically at the site level can be done by setting session.auto_start = 1 in php.ini.
- Turning on session support manually in each page script can be done by calling session_start() funtion.