[PHP] Re: Session problems [SOLVED]

2005-07-13 Thread Jason
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

[PHP] Re: Session problems under heavy load???

2004-08-09 Thread BOOT
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

[PHP] Re: Session problems under heavy load???

2004-08-07 Thread Jerry Kita
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

[PHP] Re: session problems

2002-11-27 Thread Nenad Djordjevic
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

[PHP] Re: session problems

2002-11-26 Thread conbud
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

[PHP] Re: session problems

2002-11-26 Thread conbud
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

Re: [PHP] Re: Session problems

2001-08-01 Thread LITS
> -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

Re: [PHP] Re: Session problems

2001-07-19 Thread Jason Bell
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

RE: [PHP] Re: Session problems

2001-07-19 Thread Rudolf Visagie
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

Re: [PHP] Re: Session problems

2001-07-19 Thread Steve Brett
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

RE: [PHP] Re: Session problems

2001-07-19 Thread Rudolf Visagie
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]...

[PHP] Re: Session problems

2001-07-19 Thread Steve Brett
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

[PHP] Re: Session problems

2001-07-19 Thread Bernie Kruger
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

[PHP] Re: Session problems

2001-07-19 Thread Steve Brett
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