--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
$
-
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&
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:
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:
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
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
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,
>
>
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
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
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
> @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
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
12 matches
Mail list logo