zero-perfoliate
zero-perfoliate

Author Topic: $_SESSION & session_start()  (Read 336 times)

Offline infinitey99

  • New PHP Members
  • Posts: 1
  • Karma: +0/-0
$_SESSION & session_start()
« on: November 27, 2009, 09:49:46 AM »
I'm new to PHP and have inherited quite a large app.  I'm doing a bit of research about session variables, how to use them/best practices.

This system currently uses $_SESSION to store a few variables, more or less as global variables, however there is no call to session_start() anywhere in the system.

What is the purpose of session_start()?  Why are session variables working without a call to it?

Offline kris540

  • PHP Workers
  • **
  • Posts: 23
  • Karma: +0/-0
    • Share Expense
Re: $_SESSION & session_start()
« Reply #1 on: November 29, 2009, 05:16:40 AM »
some servers call it automatically on every page

 

zero-perfoliate