Re: [PHP] Re: Cookies disabled, new session ID each click!

2002-11-04 Thread Steve Fatula
What you describe is what SHOULD happen and does on that web site, that 
does NOT happen on my web site, with the exact same code I posted in the 
original message.

So, the question remains, what would cause the SID to be blank every 
other click?

Yes, I have also used Netscape on Linux to connect to the same machine 
without cookies, same result.

Steve

Jason Wong wrote:

On Monday 04 November 2002 10:24, Steve Fatula wrote:


If you want to see a site where the small program works (and be SURE and
turn cookies off), click here:
http://www.thewebmakerscorner.com/snapmods_new/default_test.php


So, can anyone tell me why it does not work on MY site(s)? Any ideas?
Surely this is a PHP configuration issue/bug perhaps? Logically, I don't
see any settings that could possibly affect the outcome using this



Have you tried any browsers other than IE 5.5?

First time I go into that page, my URL shows this

 http://www.thewebmakerscorner.com/snapmods_new/default_test.php

Clicking on the link appends the session id to the URL. As does clicking on 
the link again (same session id). Ad infinitum.

So basically it works?




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Cookies disabled, new session ID each click!

2002-11-04 Thread Jason Wong
On Tuesday 05 November 2002 05:15, Steve Fatula wrote:
 What you describe is what SHOULD happen and does on that web site, that
 does NOT happen on my web site, with the exact same code I posted in the
 original message.

Presumably the test website and your website are on different servers -- try 
comparing php.ini.

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
That's life.
What's life?
A magazine.
How much does it cost?
Two-fifty.
I only have a dollar.
That's life.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] RE: Cookies disabled, new session ID each click!

2002-11-03 Thread Oleg Krogius
You do not need to add any SID to your links. Those will be added
automatically by the php session system when needed.

-Original Message-
From: Steve Fatula [mailto:sfatula;usa.net] 
Sent: Saturday, November 02, 2002 10:29 PM
To: [EMAIL PROTECTED]
Subject: Cookies disabled, new session ID each click!

I posted this but not sure Google works, so using my own account as it 
did not show up yet.

I am fairly new to PHP, and am running a shopping cart app written in 
PHP. Most people using this cart do not have this issue, but I do!

I have boiled the program down to a few lines, and it doesn't work. When

you click on the link in the code, it gives you a session ID. Then, when

you click again, it goes away. The SID appears to be blank every other
time.

Why would that be? I am using PHP 4.2.0 and 4.2.2, BSD and Linux, and 
Apache 1.3.20 something. Two different hosts. Same result. Client is 
IE5.5 with cookies disabled, running on NT. New session file is 
generated even though one already existed. This happens every other 
click as SID is blank every other click.

Please help me understand what the issue is.

Steve

?php
session_name('Steve');
session_start();
?
!doctype html public -//W3C//DTD HTML 4.01 Transitional//EN
html
head
meta http-equiv=Content-Type content=text/html
titleTest Page/title
/head
body marginwidth=0 marginheight=0 topmargin=0 bottommargin=0 
leftmargin=0 rightmargin=0
?php echo 'a href=http://linux.office.home/catalog/default_test.php?'

. SID . 'link to me/a'; ?
/body
/html





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Cookies disabled, new session ID each click!

2002-11-03 Thread Steve Fatula
Oleg and anyone else, PLEASE READ THE POST.

This is vendor software, this is what it does, it doesn't matter if it's 
the way you would do it, if it is the best way, or anything else. So, 
please tell me why the short program I uploaded as an example does or 
does not work for you.

Steve


Oleg Krogius wrote:

You do not need to add any SID to your links. Those will be added
automatically by the php session system when needed.

-Original Message-
From: Steve Fatula [mailto:sfatula;usa.net] 
Sent: Saturday, November 02, 2002 10:29 PM
To: [EMAIL PROTECTED]
Subject: Cookies disabled, new session ID each click!

I posted this but not sure Google works, so using my own account as it 
did not show up yet.

I am fairly new to PHP, and am running a shopping cart app written in 
PHP. Most people using this cart do not have this issue, but I do!

I have boiled the program down to a few lines, and it doesn't work. When

you click on the link in the code, it gives you a session ID. Then, when

you click again, it goes away. The SID appears to be blank every other
time.

Why would that be? I am using PHP 4.2.0 and 4.2.2, BSD and Linux, and 
Apache 1.3.20 something. Two different hosts. Same result. Client is 
IE5.5 with cookies disabled, running on NT. New session file is 
generated even though one already existed. This happens every other 
click as SID is blank every other click.

Please help me understand what the issue is.

Steve

?php
session_name('Steve');
session_start();
?
!doctype html public -//W3C//DTD HTML 4.01 Transitional//EN
html
head
meta http-equiv=Content-Type content=text/html
titleTest Page/title
/head
body marginwidth=0 marginheight=0 topmargin=0 bottommargin=0 
leftmargin=0 rightmargin=0
?php echo 'a href=http://linux.office.home/catalog/default_test.php?'

. SID . 'link to me/a'; ?
/body
/html






--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Cookies disabled, new session ID each click!

2002-11-03 Thread Steve Fatula
If you want to see a site where the small program works (and be SURE and 
turn cookies off), click here: 
http://www.thewebmakerscorner.com/snapmods_new/default_test.php


So, can anyone tell me why it does not work on MY site(s)? Any ideas? 
Surely this is a PHP configuration issue/bug perhaps? Logically, I don't 
see any settings that could possibly affect the outcome using this 
technique.

Steve



Steve Fatula wrote:

Oleg and anyone else, PLEASE READ THE POST.

This is vendor software, this is what it does, it doesn't matter if it's 
the way you would do it, if it is the best way, or anything else. So, 
please tell me why the short program I uploaded as an example does or 
does not work for you.

Steve


Oleg Krogius wrote:

You do not need to add any SID to your links. Those will be added
automatically by the php session system when needed.

-Original Message-
From: Steve Fatula [mailto:sfatula;usa.net] Sent: Saturday, November 
02, 2002 10:29 PM
To: [EMAIL PROTECTED]
Subject: Cookies disabled, new session ID each click!

I posted this but not sure Google works, so using my own account as it 
did not show up yet.

I am fairly new to PHP, and am running a shopping cart app written in 
PHP. Most people using this cart do not have this issue, but I do!

I have boiled the program down to a few lines, and it doesn't work. When

you click on the link in the code, it gives you a session ID. Then, when

you click again, it goes away. The SID appears to be blank every other
time.

Why would that be? I am using PHP 4.2.0 and 4.2.2, BSD and Linux, and 
Apache 1.3.20 something. Two different hosts. Same result. Client is 
IE5.5 with cookies disabled, running on NT. New session file is 
generated even though one already existed. This happens every other 
click as SID is blank every other click.

Please help me understand what the issue is.

Steve

?php
session_name('Steve');
session_start();
?
!doctype html public -//W3C//DTD HTML 4.01 Transitional//EN
html
head
meta http-equiv=Content-Type content=text/html
titleTest Page/title
/head
body marginwidth=0 marginheight=0 topmargin=0 bottommargin=0 
leftmargin=0 rightmargin=0
?php echo 'a href=http://linux.office.home/catalog/default_test.php?'

. SID . 'link to me/a'; ?
/body
/html








--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Cookies disabled, new session ID each click!

2002-11-03 Thread Jason Wong
On Monday 04 November 2002 10:24, Steve Fatula wrote:
 If you want to see a site where the small program works (and be SURE and
 turn cookies off), click here:
 http://www.thewebmakerscorner.com/snapmods_new/default_test.php


 So, can anyone tell me why it does not work on MY site(s)? Any ideas?
 Surely this is a PHP configuration issue/bug perhaps? Logically, I don't
 see any settings that could possibly affect the outcome using this

Have you tried any browsers other than IE 5.5?

First time I go into that page, my URL shows this

 http://www.thewebmakerscorner.com/snapmods_new/default_test.php

Clicking on the link appends the session id to the URL. As does clicking on 
the link again (same session id). Ad infinitum.

So basically it works?

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
University politics are vicious precisely because the stakes are so small.
-- Henry Kissinger
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php