php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16407 Non persistant cookie with IE5.5 and +
Submitted: 2002-04-03 04:13 UTC Modified: 2002-04-03 13:34 UTC
From: piat at besancon dot net Assigned:
Status: Closed Package: HTTP related
PHP Version: 4.0.6 OS: Win 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: piat at besancon dot net
New email:
PHP Version: OS:

 

 [2002-04-03 04:13 UTC] piat at besancon dot net
This problem occurs with IE 5.5 +.
I set a non persistant cookie, by exemple :

setcookie('myCookie','miam','','/','',0);

in a first navigator window.

When I open a second window (the first is still open), I can read the cookie, but when I close this second window, the cookie is deleted, and no longer accessible from the first.

This problem don't occur when I write cookie using JavaScript. It don't occur with Navigator (4.x and 6) and with IE 5.0.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-03 04:32 UTC] sander@php.net
We can't influence the way browsers treat cookies. This is a problem with IE, not with PHP.
 [2002-04-03 13:34 UTC] piat at besancon dot net
No comment
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 03:01:33 2025 UTC