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've always simply used
if (@session_id() == "") @session_start();
Hasn't failed me yet.
Been quite a long time using this.
NOTE: @ simply suppresses warnings.
@