[PHP-DEV] Bug #12679 Updated: Session variables not Saved

2001-08-09 Thread sniper

ID: 12679
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Session related
Operating System: Windows 2000 Professional
PHP Version: 4.0.6
New Comment:

Leave the * out of the session.cookie_domain setting.

--Jani


Previous Comments:


[2001-08-09 16:31:21] [EMAIL PROTECTED]

If I modify the script to include the flowwong line, the value is incremented and 
displayed:

echo "again";

It appears then, that the problem would be with the setting of the cookie, as a simple 
page reload starts a new session, but clicking the link preservers the session id.

I am beginning to suspect that it is my cookie configuartion in php.ini  The LIVE url 
for that test script is http://www.hotgazpacho.org/sessbugtest/

I apologize in advance if this is not truly a bug, but simply my failure to configure 
PHP properly.



[2001-08-09 16:07:10] [EMAIL PROTECTED]

Running on Apache 1.3.20 with PHP 4.0.6, no aditional modules loaded. The following 
script does NOT increment the $myvar variable and results in a new session file being 
created on every page view:



The contents of EVERY session file created are as follows:

myvar|i:1;

The value is never incremented, and 0 is displayed on every page view.

register_globals = On
session.save_handler = files
session.save_path = D:\Inetpub\php\session
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain = *.hotgazpacho.org
session.serialize_handler = php
session.gc_probability = 1
session.gc_maxlifetime = 1440
session.referer_check =
session.entropy_length = 0
session.entropy_file =
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 1
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"





Edit this bug report at http://bugs.php.net/?id=12679&edit=1


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #12679 Updated: Session variables not Saved

2001-08-09 Thread wgreen

ID: 12679
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Session related
Operating System: Windows 2000 Professional
PHP Version: 4.0.6
New Comment:

If I modify the script to include the flowwong line, the value is incremented and 
displayed:

echo "again";

It appears then, that the problem would be with the setting of the cookie, as a simple 
page reload starts a new session, but clicking the link preservers the session id.

I am beginning to suspect that it is my cookie configuartion in php.ini  The LIVE url 
for that test script is http://www.hotgazpacho.org/sessbugtest/

I apologize in advance if this is not truly a bug, but simply my failure to configure 
PHP properly.

Previous Comments:


[2001-08-09 16:07:10] [EMAIL PROTECTED]

Running on Apache 1.3.20 with PHP 4.0.6, no aditional modules loaded. The following 
script does NOT increment the $myvar variable and results in a new session file being 
created on every page view:



The contents of EVERY session file created are as follows:

myvar|i:1;

The value is never incremented, and 0 is displayed on every page view.

register_globals = On
session.save_handler = files
session.save_path = D:\Inetpub\php\session
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain = *.hotgazpacho.org
session.serialize_handler = php
session.gc_probability = 1
session.gc_maxlifetime = 1440
session.referer_check =
session.entropy_length = 0
session.entropy_file =
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 1
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"





Edit this bug report at http://bugs.php.net/?id=12679&edit=1


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]