Turning on the Session Support in PHP

Q

How To Turn on the Session Support in PHP?

✍: 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() function.

 

Saving Values in the Session in PHP

What Is a Session in PHP

Understanding and Using Sessions in PHP

⇑⇑ PHP Tutorials

2016-10-29, 1257👍, 0💬