Forum

Thread tagged as: Question, Configuration, Hosting

PHP Session

Can you please confirm whether a PHP session is started in the Perch system? If so in what file is the session started?

Jade Marling

Jade Marling 0 points

  • 2 years ago

Jade,

Yes, PHP Session is utilized within the Perch Core. I do believe it's started within the authentication, but is also used elsewhere throughout the the code.

If you have a specific question regarding PHP Sessions that would be helpful in regards to whatever problem you may be having. If you are trying to use PHP Sessions in your code and are having problems because Perch has already started Sessions, you could (and should always) test if Sessions is already started if your planning to add to it.

EDIT: /perch/core/lib/PerchSession.class.php is the primary starting point for sessions