php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15069 Problems using cookies
Submitted: 2002-01-16 12:07 UTC Modified: 2002-01-19 04:37 UTC
From: dracon at tin dot it Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dracon at tin dot it
New email:
PHP Version: OS:

 

 [2002-01-16 12:07 UTC] dracon at tin dot it
Using a windows xp professional with ie 6.0 installed as a client and windows 2000 server as with IIS 6 web server i can't use the cookies functions. The problem is simple:
-The setcookie function seems to work properly,he doesn't give any kind of error output
-When i try to read the cookie i've created i can found only cookies with no sense strange names and values that remains always same but not my cookie.If i repeat the script many times the cookies number rest the same with the same strange names and values......

I think it's a bug but i'm not a real programmer like you...... please tell me if it is and can be solved or if i made mistakes setting my server cause i'm the only one with this problem.

THANK YOU!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-16 12:33 UTC] hholzgra@php.net
you know that the security model of IE6 has changed 
regarding cookies?

by the way: setcookie will only give error output
if cookie headers can't be added anymore as content
output has already started 

there is no way for setcookie() to find out whether
the client will accept and use the cookie as the
client will resend the cookie beginning with the *next*
request if it accepted it

HTTP is a request based protocol

client sends a request, server sends result back
no further communication is done between them 
during the request, the server just pushes out
its data letting the client deal with it, the
server does *not* recieve any feedback (unless
the connection terminated, it will be signaled
then)

so no way to find out if a cookie will be accepted
at send time
 [2002-01-16 12:35 UTC] hholzgra@php.net
bogusified

and restored the form fields silently overwritten
by unwanted mozilla feature
 [2002-01-19 04:37 UTC] dracon at tin dot it
Sorry, so i'm the wrong place, i only give you another question:
What can be the solution to make cookies work on all clients, should i use a different script and different functions or where i can go to get an answer?
Thank you!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 14:01:29 2024 UTC