ID:               22653
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mshaffer at mshaffer dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: Linux
 PHP Version:      4.3.0
 New Comment:

The domain needs to be prefixed with a dot (e.g. '.foobar.com')

This is browser issue, nothing we can do about it.



Previous Comments:
------------------------------------------------------------------------

[2003-03-11 23:18:54] mshaffer at mshaffer dot com

Hi.

I have session.use_cookie = on, which means that with the
session_start() call, a cookies should be set by PHP and remembered
throughout...

This internal PHP cookie set function does not work in Netscape due to
netscape's noncompliance with RFC's... There has been previous bug
reports about this issue, but internally you have marked them as BOGUS
because it works appropriately; you are write the internal set cookie
workings work find in IE, but not at all in either Netscape client (4.x
or 6.x)... is PHP part of the wintel network, or are we looking for
real solutions.

I would like to use the PHP session handling as is, but may have to
rewrite my own cookie management rather than use the internal cookie
writing feature, because you are ignoring the browser differences
between setting a cookie...

As I researched this question on the web, one reader suggested dropping
the "/" for the path to empty... however, that is only for netscape, it
breaks IE.

The bug in Netscape appears to be in the method of setting the domain
... if I leave the domain field blank, Netscape seems to handle the PHP
session cookie fine... if is set "mydomain.com" then it fails to set a
cookie from PHP calling session_start();

I am using postgresql with a session handler, and the site is finished,
and works fine for all IE users, but nothing about the state is stored
for Netscape users... That is not a configuration problem in my
opinion.

http://www.employee-testing.com/version.php (I will take this down in
about 2 days, but if you want to look)... this one doesn't set cookies
in netscape, but

I am trying to pass the cookie from https://secure.employee-testing.com
to http://www.employee-testing.com; however, none of the cookies every
get set in either case for netscape, and it works fine in IE...

http://www.eddies-cafe.com/version.php does work properly in
netscape...



The issue is with all of the parameters of the set cookie...

I guess the only workaround is get_browser and set_parameters if
NETSCAPE to comply to the cookie standards.

Regards,

monte

{x:

------------------------------------------------------------------------


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

Reply via email to