Use
$_SESSION['var']
instead of
$_SESSION[var]
--- Golawala, Moiz M (IndSys, GE Interlogix)
[EMAIL PROTECTED] wrote:
Hi All,
I have a problem with PHP not remembering sessions.
for example:
in page1.php:
? session_start();
$_SESSION[var] = Please help; ?
form
why this is happening.
Thanks
Moiz
-Original Message-
From: Daniel Guerrier [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 4:04 PM
To: Golawala, Moiz M (IndSys, GE Interlogix); [EMAIL PROTECTED]
Subject: Re: [PHP] PHP not remembering sessions
Use
$_SESSION['var']
instead
PROTECTED]
Subject: RE: [PHP] PHP not remembering sessions
It seems that there is a problem with the session management on
windows/apache. I was surfing the web to find an answer, and I noticed
that there are couple of other people who have the same problem. But
alas, there were no answers posted
* Thus wrote Daniel Guerrier ([EMAIL PROTECTED]):
Use
$_SESSION['var']
instead of
$_SESSION[var]
This doesn't matter.
Curt
--
My PHP key is worn out
PHP List stats since 1997:
http://zirzow.dyndns.org/html/mlists/
--
PHP General Mailing List (http://www.php.net/)
To
1:11 PM
To: Daniel Guerrier; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP not remembering sessions
It seems that there is a problem with the session management on
windows/apache. I was surfing the web to find an answer, and I noticed
that there are couple of other people who have the same problem
* Thus wrote Golawala, Moiz M (IndSys, GE Interlogix) ([EMAIL PROTECTED]):
I noticed that 2 cookies were created one for each session start. When I opened one
of the cookies, I noticed that the data Please help was in the session cookie.
Somehow php thinks a session is not already created
Zirzow [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 1:30 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP not remembering sessions
* Thus wrote Daniel Guerrier ([EMAIL PROTECTED]):
Use
$_SESSION['var']
instead of
$_SESSION[var]
This doesn't matter.
Curt
--
My PHP key
PROTECTED]
Sent: Thursday, October 23, 2003 4:27 PM
To: 'Curt Zirzow'; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP not remembering sessions
are you using session save handler routines?
If not make sure you have a /tmp directory on your server, in fact you can
check phpinfo() to find out what
Moiz M Golawala [EMAIL PROTECTED] wrote:
This is what is defined in the php.ini file for save handler
routines..
I am newbie, I left it with default values:
session.save_handler = files
session.save_path = c:/Program Files/Apache
Group/Apache2/htdocs/Alarms/
thanks
moiz
Change your
-Original Message-
From: Vail, Warren [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 4:27 PM
To: 'Curt Zirzow'; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP not remembering sessions
are you using session save handler routines?
If not make sure you have a /tmp directory on your server
)
[mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 1:31 PM
To: Vail, Warren; Curt Zirzow; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP not remembering sessions
This is what is defined in the php.ini file for save handler routines.. I am
newbie, I left it with default values
--- Daniel Guerrier [EMAIL PROTECTED] wrote:
Use
$_SESSION['var']
instead of
$_SESSION[var]
That won't make any difference.
As for the original question, I don't notice any immediate problems with the
code:
in page1.php:
? session_start();
$_SESSION[var] = Please help; ?
* 561-912-1650 *
-Original Message-
From: Vail, Warren [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 4:42 PM
To: Golawala, Moiz M (IndSys, GE Interlogix); Curt Zirzow;
[EMAIL PROTECTED]
Subject: RE: [PHP] PHP not remembering sessions
while this doesn't mean that save
, October 23, 2003 4:49 PM
To: Daniel Guerrier; Golawala, Moiz M (IndSys, GE Interlogix);
[EMAIL PROTECTED]
Subject: Re: [PHP] PHP not remembering sessions
--- Daniel Guerrier [EMAIL PROTECTED] wrote:
Use
$_SESSION['var']
instead of
$_SESSION[var]
That won't make any difference
--- Golawala, Moiz M (IndSys, GE Interlogix) [EMAIL PROTECTED] wrote:
I am sorry to call it a cookie.. I see the data in a session file
(not a cookie)
OK, so you just look in this file manually?
I don't have a html file. I simply call the .php file by typing the
url as
by the browser.
hope this gets you back and running.
Warren
-Original Message-
From: Golawala, Moiz M (IndSys, GE Interlogix)
[mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 1:49 PM
To: Vail, Warren; Curt Zirzow; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP not remembering sessions
-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 5:03 PM
To: Golawala, Moiz M (IndSys, GE Interlogix); Daniel Guerrier;
[EMAIL PROTECTED]
Subject: RE: [PHP] PHP not remembering sessions
--- Golawala, Moiz M (IndSys, GE Interlogix) [EMAIL PROTECTED] wrote:
I am
17 matches
Mail list logo