Just wondering how to check if a PHP session exists... My understanding is that no matter what, if I am using sessions, I have to start my files with session_start() to even acc
I find it best many times (depends on the nature of the application) to simply test to see if a session cookie is set in the client:
Of course, replace the default session name "PHPSESSID" with any custom one you are using.