Re: We need another Auth
| From: | Nicolas Hoizey | Date: | Mon, 10 Jun 2002 08:54:26 +0000 |
| Subject: | Re: We need another Auth | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-6836@lists.php.net to get a copy of this message | ||
Hi Bertrand,
> I don't understand why there is a session_start() in the class
> start() method. This will start a new session everytime htdig
> accesses a new page.
It starts a new session because the first one it creates is not given
to the following requests.
ht://Dig doesn't accept cookies, so the session ID should be put in
the URL.
> I don't see why the session should start if the user didn't bother
> authenticating.
You can need sessions even if you don't need authentication, they are
usefull for that, but not only.
-Nicolas
--
Nicolas "Brush" HOIZEY
Free PHP projects http://www.phpheaven.net
Veille tous azimuts http://www.gasteroprod.com
Clever Age http://www.clever-age.com