Re: PEAR::Auth - cookies and @session_start()

From: Date: Mon, 14 Jun 2004 02:35:12 +0000
Subject: Re: PEAR::Auth - cookies and @session_start()
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13132@lists.php.net to get a copy of this message
[Thanks, Paul, for the answer on $expire/$idle: that answered it for me.] Is it necessary to have an explicit session_start() when you implement Auth? I am using version 1.2.3, and looking at the source code it would seem that @session_start is done when you do a
        $a -> start()
but this is not happening. At least, I am not getting cookies set. I saw an online implementation that used an explicit session_start at the top of the file, and this seems to fix the problem, but should it really be necessary? Why isn't the session_start in the start() method "kicking in"?

« previous php.pear.general (#13132) next »