Well after a bit of tweaking of my script I realized it was not the code
that was causing the problem. It was a php.ini setting, I run a few
virtual hosts on my webserver and it turned out to be the
session.referer_check was set to 0, modify this to equal
session.referer_check = and it worked fine
Thanks for the replies. For those who mentioned load balancing I am using my
own server so that is not an issue. Loads should typically not hit what they
did while the raid array was rebuilding, however this does seem a little
alarming from a security standpoint! How do security conscious sites dea
I had a problem with session variables being lost. However it wasn't because
of a heavy load. My hosting company does load balancing and user requests
would be directed to different servers. However, when the session was
originally defined it was placed in the /tmp file of one server. When a
reques
Hello Jason,
I had similar problem when I try to use global array
$HTTP_SESSION_VARS to manipulate with session variables in PHP version
4.1.x.
If you use PHP version < 4.2.0 you need to use function
`session_register` to add variable to session.
If you use PHP 4.2.0 (or greater) you need to use
Hey again.
In the php.ini if
register_globals = Off - which is the default setting
then you will need to use $_SESSION['variable']
- Lee
"Jason Romero" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> when using session registered variables
> i can only get the
Hey
Also in your php.ini do you have
session.use_cookies = 1
if its set to 0 then you will need to pass the variables through the URL.
- Lee
"Jason Romero" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> when using session registered variables
> i can only get
> -Original Message-
> From: Bernie Kruger [mailto:[EMAIL PROTECTED]]
> Sent: 19 July 2001 04:55
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Session problems
>
>
> Tried everything all of you suggested, still no luck :-(
>
> BK
>
> "Bernie Kruger&quo
age -
From: "Rudolf Visagie" <[EMAIL PROTECTED]>
To: "Steve Brett" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 9:38 AM
Subject: RE: [PHP] Re: Session problems
> I use only sessions and my scripts do not work if I do
t; > session_register("my_session_variable");
> > print "Value of 'my_session_variable': $my_session_variable";
> > ?>
>
> Rudolf Visagie
>
> -Original Message-
> From: Bernie Kruger [mailto:[EMAIL PROTECTED]]
> Sent: 19 Jul
t; > session_register("my_session_variable");
> > print "Value of 'my_session_variable': $my_session_variable";
> > ?>
>
> Rudolf Visagie
>
> -Original Message-
> From: Bernie Kruger [mailto:[EMAIL PROTECTED]]
> Sent: 19 Jul
Kruger [mailto:[EMAIL PROTECTED]]
Sent: 19 July 2001 04:55
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Session problems
Tried everything all of you suggested, still no luck :-(
BK
"Bernie Kruger" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
another thing you could try is find out where the php session data is stored
and see if the session files are there - i think on win2k they are in
c:\php\sessiondata ...
Steve
"Bernie Kruger" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I use this s
Tried everything all of you suggested, still no luck :-(
BK
"Bernie Kruger" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I use this simple session script below, but the session variables are not
> carried over from 1.php to 2.php. What can be wron
id' resgister the session var first then change / set it.
don't actually know if it makes a diff
Steve
"Bernie Kruger" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I use this simple session script below, but the session variables are not
> car
14 matches
Mail list logo