RE: [PHP] @session_start generates a new session_id

2004-10-27 Thread Lizet Peña de Sola
--Original Message- From: Reinhart Viane [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 12:49 PM To: 'Lizet Peña de Sola'; [EMAIL PROTECTED] Subject: RE: [PHP] @session_start generates a new session_id Instead of: Try this: //unregister the sessions $

RE: [PHP] @session_start generates a new session_id

2004-10-27 Thread Lizet Peña de Sola
- From: Reinhart Viane [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 12:49 PM To: 'Lizet Peña de Sola'; [EMAIL PROTECTED] Subject: RE: [PHP] @session_start generates a new session_id Instead of: Try this: //unregister the sessions $_SESSION['validlogin&

RE: [PHP] @session_start generates a new session_id

2004-10-27 Thread Lizet Peña de Sola
I'll try that, thanks a lot. -Original Message- From: Reinhart Viane [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 12:49 PM To: 'Lizet Peña de Sola'; [EMAIL PROTECTED] Subject: RE: [PHP] @session_start generates a new session_id Instead of:

RE: [PHP] @session_start generates a new session_id

2004-10-26 Thread Reinhart Viane
Instead of: Try this: //unregister the sessions $_SESSION['validlogin']=""; $_SESSION['username']=""; $_SESSION['password']=""; //destroy the sessions array $_SESSION = array(); //destroy the session session_destroy(); Greetings Reinhart Viane -- PHP General Mailing List (http:

RE: [PHP] @session_start generates a new session_id

2004-10-26 Thread Lizet Peña de Sola
ED] Sent: Monday, October 25, 2004 6:18 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] @session_start generates a new session_id On Mon, 25 Oct 2004 15:59:18 -0400, Lizet Peña de Sola <[EMAIL PROTECTED]> wrote: > How can I set session_auto_start On, I have a similar problem and I > thi

Re: [PHP] @session_start generates a new session_id

2004-10-25 Thread Greg Donald
On Mon, 25 Oct 2004 15:59:18 -0400, Lizet Peña de Sola <[EMAIL PROTECTED]> wrote: > How can I set session_auto_start On, I have a similar problem and I think > it's because my web hosting has that feature off. .htaccess php_flag session.auto_start on -- Greg Donald Zend Certified Engineer http

RE: [PHP] @session_start generates a new session_id

2004-10-25 Thread Lizet Peña de Sola
bject: Re: [PHP] @session_start generates a new session_id Hi, Check your PHP config file. You may enable auto session start. I think this is the reasone of problem. Sadeq On Tue, 19 Oct 2004 18:21:29 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi Matt, > >

Re: [PHP] @session_start generates a new session_id

2004-10-25 Thread Mark-Walter
Hi Sadeq, > Check your PHP config file. You may enable auto session start. I think > this is the reasone of problem. sorry for the delay and indeed your suggestion solves now my problem. Thank's a lot :-) -- Best Regards, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] @session_start generates a new session_id

2004-10-19 Thread Sadeq Naqashzade
Hi, Check your PHP config file. You may enable auto session start. I think this is the reasone of problem. Sadeq On Tue, 19 Oct 2004 18:21:29 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi Matt, > > > > @session_start(); > > > session_name("userauth"); > > > $_SESSION['SESS_CUS'] = $u

Re: [PHP] @session_start generates a new session_id

2004-10-19 Thread Mark-Walter
Hi Matt, > > @session_start(); > > session_name("userauth"); > > $_SESSION['SESS_CUS'] = $user_id; > I am not 100% sure what the problem is, but if you are trying to > change the session name to userauth, I think you need to do that > before session_start session_name() works ok so far. For ex

Re: [PHP] @session_start generates a new session_id

2004-10-19 Thread Matt M.
> @session_start(); > session_name("userauth"); > $_SESSION['SESS_CUS'] = $user_id; I am not 100% sure what the problem is, but if you are trying to change the session name to userauth, I think you need to do that before session_start http://us2.php.net/session_name -- PHP General Mailing List

[PHP] @session_start generates a new session_id

2004-10-19 Thread Mark-Walter
Hi, I made an update to Apache/1.3.31 (Unix) PHP/4.3.9 and before this everythings works fine. The problem is that a following page generates a new session stored under the session.save_path and the stored variable e.g. $_SESSION['SESS_CUS'] is not valid anymore due the SID entry. On both pages