php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32111 Cookies can also be separated by comma
Submitted: 2005-02-25 16:49 UTC Modified: 2005-04-25 23:21 UTC
Votes:4
Avg. Score:4.0 ± 1.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:1 (33.3%)
From: daniel dot marcus at gmail dot com Assigned: sniper (profile)
Status: Wont fix Package: Session related
PHP Version: 4.*, 5.* OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
35 - 6 = ?
Subscribe to this entry?

 
 [2005-02-25 16:49 UTC] 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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-25 23:21 UTC] sniper@php.net
See bug #32827 for reasoning. (Nokia should fix their crappy phones..or pay me very much.. :)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC