php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25136 THIS IS NOT A BUG (I think) just cookie issue, it doesnt delete!
Submitted: 2003-08-18 19:02 UTC Modified: 2003-08-18 19:10 UTC
From: pmpp at sapo dot pt Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.2 OS: Windows Xp
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pmpp at sapo dot pt
New email:
PHP Version: OS:

 

 [2003-08-18 19:02 UTC] pmpp at sapo dot pt
Description:
------------
Hello, and thanks for reading this!
Sorry fot the eng.

Well, I made a script with cookies, and all works fine.
I use a isset($_COOKIE["name"]); to see if there's a cookie, and I $the_name=$_COOKIE["name"]; to get the info...

I use this to creat a cookie:
setcookie ("name",$_POST["yourname"], time()+3600,"/");
and this to delete it:
setcookie ("name","", time()-3600,"/");

And it works.. at least in Windows XP Ie 6

But with Win Me Ie 6 the cookie keeps there...
The only thing that happens, is that the value of the cookie is set to "deleted"
well.. thats bad since i search for a cookie with isset... and it is set!
so when I print $the_name (since the cookie is there), one with Win Me will get : deleted.

I dont know if thats a php problem or just the way win me with Ie 6 handels cookie.

The help file just talks about this issues:

Microsoft Internet Explorer 4 with Service Pack 1 applied does not correctly deal with cookies that have their path parameter set. 

Netscape Communicator 4.05 and Microsoft Internet Explorer 3.x appear to handle cookies incorrectly when the path and time are not set. 

Well, thanks for the atention
Sorry fot the bad eng.
And thanks again for your work!

Pedro Pereira


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-18 19:10 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Yes, it's not bug. Go ask support questions elsewhere.
(generally, if something works with one browser but does not with another -> it's a browser bug..)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 05 04:01:29 2024 UTC