#32111 [Fbk->NoF]: Cookies separated by colon, not semicolon
| From: | php-bugs at lists dot php dot net | Date: | Wed, 06 Apr 2005 23:00:13 +0000 |
| Subject: | #32111 [Fbk->NoF]: Cookies separated by colon, not semicolon | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-76466@lists.php.net to get a copy of this message | ||
ID: 32111
Updated by: php-bugs@lists.php.net
Reported By: daniel dot marcus at gmail dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Session related
Operating System: windows 2000 server
PHP Version: 4.3.10
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2005-02-28 16:59:12] daniel dot marcus at gmail dot com
Sorry Sniper. I rented some cellphones for testing my software and I
had to take it back.
Anyway I had some other problems. I decided no to use cookies, only for
the session cookie.
The problem was this: for every session cookie the phone (some nokias)
hold it twice and therefore the session cookie I got was:
PHPSESSID="6235123518263Ae4,PHPSESSID=6235123518263Ae4" and obviusly I
would get the error "Session can be only numbers, letters, etc,etc". I
decided to turn on trans_id in order to make it run on all phones but I
may have problems with security issues.
I don't believe it's a php bug only....but maybe it becames a bug in
conjunction with nokia browsers. It worked flawless with SonyEricsson,
Samsung, Panasonic,Siemens,Sagem and Motorola phones. So I won't blame
php for this problem and I won't ban nokia phones just for this. Hey!
come on...a lot of people use nokia.
Thanks Sniper just for answering.
------------------------------------------------------------------------
[2005-02-27 10:47:23] sniper@php.net
Can you please provide the full headers the client (the phone in this
case) sends?
------------------------------------------------------------------------
[2005-02-25 16:49:21] daniel dot marcus at gmail dot com
Description:
------------
The browser (nokia 3200 and others) sends the cookies in the form:
name="value",name2="value2"
instead of:
name="value";name2="value2"
In the first example above PHP will get only one cookie:
"name" with it's value set to: "value,name2=value2". So all the others
cookies are lost.
How can i fix this on php for windows?
session.save_handler = files
session.save_path ="C:\AppServ\php\session"
session.use_cookies = 1
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = 0
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_expire = 180
session.use_trans_sid = 0
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32111&edit=1