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:
? $_SESSION['validlogin
?
Tia, Lizet
-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:
? $_SESSION['validlogin']=; $_SESSION
session id each time? Tia, Lizet
-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:
? $_SESSION['validlogin
not
overriden.
Any idea?
Thanks a lot in advance.
Lizet
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]
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
Instead of:
? $_SESSION['validlogin']=; $_SESSION['username']=;
$_SESSION['password']=; unset($_SESSION['validlogin']);
unset($_SESSION['username']); unset($_SESSION['password']);
session_unset(); print(username=.$_SESSION['username']);
print(password=.$_SESSION['password']);
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
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
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
@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 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 example:
?
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'] = $user_id;
I
11 matches
Mail list logo