Session Control [on/off]
Posted: Wed Sep 06, 2006 2:49 pm
Is there a method to determine if sticky session control has been turned on or off? This is the first time i've run into this issue, and am wondering if there is a quick check I can make to determine if it's turned on or off.
Currently, I'm doing something like this:
but i'm unsure if this is the best method or not.
if anyone could shed some light on this that would be great. thanks.
[edit]
Let me rephrase that. I am wanting to determine if session-support has been enabled in the php config file or not on the fly.
Currently, I'm doing something like this:
Code: Select all
session_start();
if(isset($_SESSION)) {
$this->session =& $_SESSION;
} else {
$this->session = array();
}if anyone could shed some light on this that would be great. thanks.
[edit]
Let me rephrase that. I am wanting to determine if session-support has been enabled in the php config file or not on the fly.