RE: [PHP] Session problem

2001-08-08 Thread Chad Day
- From: karthik [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 1:08 AM To: Chad Day Subject: Re: [PHP] Session problem Hi, Have u tried $HTTP_SESSION_VARS[NAME] ? Try it. I am sure it will work. Karthik - Original Message - From: Chad Day [EMAIL PROTECTED] To: mike cullerton

RE: [PHP] Session problem

2001-08-08 Thread Brian Dunworth
On Wednesday, August 08, 2001 at 9:16 AM, Chad Day said: I wish it did. Still the same problem. ?php session_start(); global $count; session_register (count); $count++; ? Hello visitor, you have seen this page ?php echo $HTTP_SESSION_VARS[count]; ? times.p You're asking the

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
To: [EMAIL PROTECTED] Cc: 'Chad Day' Subject: RE: [PHP] Session problem On Wednesday, August 08, 2001 at 9:16 AM, Chad Day said: I wish it did. Still the same problem. ?php session_start(); global $count; session_register (count); $count++; ? Hello visitor, you have seen this page ?php

RE: [PHP] Session problem

2001-08-08 Thread Bjorn Van Simaeys
, but I searched php.net and found no mention of anything .. Chad -Original Message- From: Brian Dunworth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 10:37 AM To: [EMAIL PROTECTED] Cc: 'Chad Day' Subject: RE: [PHP] Session problem On Wednesday, August 08

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
/realtors/count.php Chad -Original Message- From: Bjorn Van Simaeys [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 1:09 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Session problem Maybe you have your cookies turned off in your browser? Something that is easily forgotten.. Greetz

RE: [PHP] Session problem

2001-08-08 Thread Johnson, Kirk
?php session_start(); global $count; session_register (count); $count++; ? Hello visitor, you have seen this page ?php echo $HTTP_SESSION_VARS[count]; ? times.p There was a bug in PHP in versions prior to 4.0.6: $count and $HTTP_SESSION_VARS[count] did not reference

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
Still not working. My script is -exactly- as you have it below, and I believe I've tried that before. (begins pulling out hair) Chad -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 2:31 PM To: [EMAIL PROTECTED] Subject: RE: [PHP

RE: [PHP] Session problem

2001-08-08 Thread Chad Day
Message- From: Chad Day [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 2:36 PM To: Johnson, Kirk; [EMAIL PROTECTED] Subject: RE: [PHP] Session problem Still not working. My script is -exactly- as you have it below, and I believe I've tried that before. (begins pulling out hair

RE: [PHP] Session problem

2001-08-08 Thread Johnson, Kirk
What it looks like it is doing to me, if you hit the script and reload it a bunch, is it creates a session, sticks with it for a while, then dumps it .. it then creates another session, starts over at 1, and begins counting up.. then sometimes it will see the old session, and go back to

RE: [PHP] Session problem

2001-08-08 Thread Johnson, Kirk
What it looks like it is doing to me, if you hit the script and reload it a bunch, is it creates a session, sticks with it for a while, then dumps it .. it then creates another session, starts over at 1, and begins counting up.. then sometimes it will see the old session, and go back to

Re: [PHP] Session problem

2001-08-08 Thread Yasuo Ohgaki
Hassan El Forkani [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... indeed it's not working properly, first of all please make sur the pages are not cashed send a header (Cache-control: NO cache) i'm not sure about the syntax so check the manual then try to

RE: [PHP] Session problem

2001-08-07 Thread Chad Day
I tried this, I still have the same problem. Is this a bug in the version of PHP I am running? Chad -Original Message- From: mike cullerton [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 4:58 PM To: Chad Day; [EMAIL PROTECTED] Subject: Re: [PHP] Session problem i would try

RE: [PHP] Session problem

2001-08-07 Thread hassan el forkani
forkani [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 8:34 AM To: Chad Day Subject: RE: [PHP] Session problem hello At 15:16 07/08/01, you wrote: My code: auth.php: session_start(); ... $res = mysql_query(SELECT NAME FROM dbhere where EMAIL = '$EMAIL

RE: [PHP] Session problem

2001-08-07 Thread hassan el forkani
it about 10 times or so, watch what happens. Chad -Original Message- From: hassan el forkani [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 8:34 AM To: Chad Day Subject: RE: [PHP] Session problem hello At 15:16 07/08/01, you wrote: My code: auth.php: session_start

RE: [PHP] Session problem

2001-08-07 Thread Chad Day
forkani [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 9:37 AM To: Chad Day Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Session problem oh i forgot!!! you have to put this at the beginning of your page ?php session_start(); ? indeed it's not working properly, first of all please make sur

RE: [PHP] Session problem

2001-08-07 Thread hassan el forkani
forkani [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 9:37 AM To: Chad Day Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Session problem oh i forgot!!! you have to put this at the beginning of your page ?php session_start(); ? indeed it's not working properly, first of all please make sur

Re: [PHP] Session problem

2001-08-06 Thread mike cullerton
i would try session_start(); session_register(NAME); $res = mysql_query(SELECT NAME FROM dbhere where EMAIL = '$EMAIL' AND PASSWORD = '$PASSWORD'); if ($row = mysql_fetch_array($res)) { $NAME = $row[NAME]; } notice that $NAME is registered before being assigned to. on 8/6/01 2:23 PM, Chad

Re: [PHP] session problem using headers

2001-07-16 Thread David Allen
Thanks for your email. I did the changes you suggested, and the page is now going to input.php?= ie no record of the SID. I added the following lines to the code. echo SID: $SID; and echo SID: $PHPSESSID; and $SID was not displayed i.e just SID: was displayed. I guess this is the problem. For

Re: [PHP] session problem using headers

2001-07-16 Thread David Allen
Further to the last e-mail the plot thickens... If cookies is turned on, the line echo SID: $PHPSESSID; displays the session id. I thought the whole idea of using $PHPSESSID was so that sessions would work with cookies turned off! Am I missing something here? I disabled cookies via the

RE: [PHP] session problem using headers

2001-07-13 Thread scott [gts]
you're passing the PHPSESSID incorrectly, it seems you must do something like this: A HREF=nextpage.php??=SID? or header(Location: nextpage.php?$SID); what you're doing now will go to page input.php?=SID instead of input.php?938sa9fa98f7daf987a9s (or similar) -Original Message-

Re: [PHP] session problem

2001-05-24 Thread Robert Schaller
Hi all, just for the record.found the problem.the partition was full*blush*:O\ -Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

Re: [PHP] session problem

2001-05-23 Thread Robert Schaller
Hi Chris, thanks for your fast reply. I tried your advice, checking if a variable is already registered before registering it again, the problem remains. The thing that bugs me is that I am getting no error message whatsoever, session_register is returning true and there is nothing in the log

Re: [PHP] session problem

2001-05-22 Thread Chris Lee
calling session_register() on a var that is allready registered is asking for trouble. there seems to be some bug in php concerning this. ?php session_start(); if (!isset($HTTP_SESSION_VARS['counter'])) { $counter = 0; session_register('counter'); } $counter++; echo Counter:

Re: [PHP] Session problem

2001-05-05 Thread Gyozo Papp
I might be wrong, but AFAIK session is connected to the client and the window or application exactly. This means that if you close the browser and - Original Message - From: MySQL [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 2001. május 5. 19:59 Subject: [PHP] Session problem I

Re: [PHP] Session problem

2001-05-05 Thread Gyozo Papp
Try to empty the web cahce of your browser. And one more thing, in PHP there is a default time limit while a session is not killed. [from the manual] session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up. PHP sees your session a

Re: [PHP] Session Problem (Design problem!?)

2001-03-28 Thread Yasuo Ohgaki
That's because your "variable_order" is "EGPCS". (Default) So your PHP is working fine. -- Yasuo Ohgaki ""Jason Lam"" [EMAIL PROTECTED] wrote in message 99uf64$4i9$[EMAIL PROTECTED]">news:99uf64$4i9$[EMAIL PROTECTED]... I got this strange problem, maybe a design flaw, please look at it and

Re: [PHP] Session Problem (Design problem!?)

2001-03-28 Thread Yasuo Ohgaki
FYI Use $HTTP_*_VARS to avoid this kind of problems. Variable order may change server to server, so you might not able to rely on it even if you know well about it. -- Yasuo Ohgaki ""Jason Lam"" [EMAIL PROTECTED] wrote in message 99uf64$4i9$[EMAIL PROTECTED]">news:99uf64$4i9$[EMAIL

Re: [PHP] Session problem

2001-03-24 Thread Felix Kronlage
On Sat, Mar 24, 2001 at 08:50:16AM +0100, Rol wrote: I did notice that the session id is also written to the /tmp folder. Linux mandrake. If php doesn't set a cookie to save the session-registered variables it stores them in the locatin set in the php.ini (which is by default /tmp) Things

Re: [PHP] Session problem

2001-03-14 Thread Pavel Kalian
set the session.save_path to a directory that exists on your system (for example: session.save_path = c:\temp) Pavel - Original Message - From: "Brandon Orther" [EMAIL PROTECTED] To: "PHP User Group" [EMAIL PROTECTED] Sent: Tuesday, March 13, 2001 10:56 PM Subject: [PHP]

Re: [PHP] Session problem

2001-03-13 Thread Jack Dempsey
you're using php for windows, right? well, you try to open /tmp which is a *nix standard directory...i think you can fix that in your php.ini jack Brandon Orther wrote: Hello, Does anyone know how to fix this error? Warning: open(/tmp\sess_4fb4c5778fe97ab351baca1d8db90abf, O_RDWR)

Re: [PHP] session problem

2001-02-27 Thread Chris Lee
cookies disabled and using --trans-sid ? the only way PHPSESSID can be set is if PHPSESSID is set in the url (get) or in a form (post) if neither is set then your hooped. a new session will be created each time. ?php session_start() if (!isset($HTTP_SESSION_VARS['count'])) {

Re: [PHP] Session problem?

2001-01-20 Thread Richard Lynch
function add_toCart($id,$array) { session_register("OBJECT"); $c = new Configurator; $c-readConfig($id); $OBJECT = serialize($c); header("Location: Cart.php"); echo "Redirecting..." } Unfortunately, the session file (in /tmp) is always empty after this function executes. I'm using PHP

RE: [PHP] Session problem? (Correction)

2001-01-19 Thread Javier Muniz
The session file is not empty :) the OBJECT portion of the session file is empty. i.e. cat'ing /tmp/sess_whatever yields: !OBJECT| -jm -Original Message- From: Javier Muniz [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19, 2001 3:57 PM To: '[EMAIL PROTECTED]' Subject: [PHP] Session

<    1   2