Re[2]: [PEAR-DEV] We need another Auth

From: Date: Mon, 10 Jun 2002 11:30:51 +0000
Subject: Re[2]: [PEAR-DEV] We need another Auth
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6853@lists.php.net to get a copy of this message
>> $cookieName = ini_get('session.name'); > > someone else might have changed the session name by using > session_name() in which case your code won't work, I think. Instead, > I can use session_name() to retrieve the session name. Right. > I think there should be a way in Auth to know which session name it > uses. That's probably not big deal to code. Why not use session_name()? >> You don't have to be rude, I'm just trying to answer and help! > > I wasn't rude, sorry if you took it so. Sorry then... :) > I know that. Why doesn't session_start() or something can't tell you > that a session hasn't been started yet or not. Good question. In the doc: "This function always returns TRUE" ;) But there is a check_session() function given in the user contributions. -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

« previous php.pear.dev (#6853) next »