We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new 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

  • 1 year ago


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