How To Turn On the Session Support

Q

How To Turn On the Session Support? - PHP Script Tips - Understanding and Using Sessions

✍: FYIcenter.com

A

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: Set session.auto_start = 1 in php.ini.
  • Turning on session support manually in each page script: Call session_start() funtion.

2007-04-18, 4766👍, 0💬