David HM Spector wrote:
I am writing a multi-page form, on the first page I
session_register() a mess of variables (8 of them), the first time
through the form everything works as expected, I can get things out
of form variables and into relevant the $_SESSION variables. Items
are put into
On Thursday 20 November 2003 14:34, David HM Spector wrote:
> I'm seeing really odd behavior using session variables and wonder if
> I'm really just missing something obvious...
>
> My env is: RH9, httpd-2.0.40-21.5, PHP 4.2.2 (RH RPM, gazillion
> compile flags enabled), session support enabled, r
I'm seeing really odd behavior using session variables and wonder if
I'm really just missing something obvious...
My env is: RH9, httpd-2.0.40-21.5, PHP 4.2.2 (RH RPM, gazillion
compile flags enabled), session support enabled, register_globals is ON
I am writing a multi-page form, on the fir
Original Message-
> > From: Duncan Abbott [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 16 January 2003 4:53 AM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: RE: [PHP] Session wierdness...
> >
> >
> > I did what you suggested and I've att
3 4:53 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] Session wierdness...
>
>
> I did what you suggested and I've attached the output -
> there's no $_SESSIONS array in there.
>
> But I've managed to register session vars outside of th
[mailto:[EMAIL PROTECTED]]
Sent: 13 January 2003 10:04
To: 'Duncan Abbott'; [EMAIL PROTECTED]
Subject: RE: [PHP] Session wierdness...
Do this for me:
print_r($GLOBALS);
and see if you have the $_SESSIONS array visible.. you will need to view
the output
in a text editor as the prin
I can't seem to be able to set a session var from within a function in an
include file
I have a call to a function at the top of my doc (but after session_start())
and if I write the line:
$_SESSION['userData'] = test1;
in the function body - it does nothing...
... but if I put this statement
Message-
> From: Duncan Abbott [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 13 January 2003 1:05 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Session wierdness...
>
>
> I can't seem to be able to set a session var from within a
> function in an include file
&g
I can't seem to be able to set a session var from within a function in an
include file
I have a call to a function at the top of my doc (but after session_start())
and if I write the line:
$_SESSION['userData'] = test1;
in the function body - it does nothing...
... but if I put this statement
tart(); See if
you can pinpoint where the you're losing the data.
-Kevn
- Original Message -
From: "Rob Walls" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 18, 2002 11:29 AM
Subject: [PHP] Session wierdness
> Is it possible to use PHP
Is it possible to use PHP sessions reliably?
I get very inconsistent results.
I register session vars after a password check.
I use session_start at the top of every file.
I watch the /tmp directory for session files.
Within a few random page transitions the session data inside the registered
vari
11 matches
Mail list logo