ID:               14255
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           No Feedback
 Bug Type:         HTTP related
 Operating System: Debian 2.2.19
 PHP Version:      4.0.6
 Assigned To:      shiflett
 New Comment:

Oh, I forgot to mention IN THE PREVIOUS POSTING, MY SETUP IS AS
FOLLOWS:

PHP/4.0.6 
APACHE 1.3.22 (Unix)


Previous Comments:
------------------------------------------------------------------------

[2003-02-05 13:50:17] [EMAIL PROTECTED]

Oh, I forgot to mention IN THE PREVIOUS POSTING, MY SETUP IS AS
FOLLOWS:

PHP/4.0.6 
APACHE 1.3.22 (Unix)

------------------------------------------------------------------------

[2003-02-05 13:44:51] [EMAIL PROTECTED]

I have a PHP script that sets a cookie as follows:

$cookie_expire = time()+3600;                             
$cookie_name= "loginpipoclub";                              
$value= "mike";                                                  
setcookie ($cookie_name, $value, $cookie_expire);                      
                            
THis IS NOT WORKING anymore (I swear it did work
!).  So I have finally tried to find out why the cookie is not being
set by using Telnet.  The response I get in the header shows that the
cookie is expired, but I cannot understand WHY!!!  THE server time
shows the correct time/date according to my system and my watch BUT THE
COOKIE IS MARKED AS DELETED (SEE SetCookie: header below) despite the
fact that I have set it to expire at time() + 3600.   In fact, the
expiry date is marked to be last year.

HERE IS THE RESPONSE FROM THE SERVER USING TELNET ON PORT 80:

HTTP/1.1 200 OK                                                        
        
Date: Wed, 05 Feb 2003 19:40:29 GMT                                    
        
Server: Apache/1.3.22 (Unix) mod_ssl/2.8.5 OpenSSL/0.9.6a PHP/4.0.6
mod_perl/1.0
X-Powered-By: PHP/4.0.6                                                
        
Set-Cookie: loginpipoclub=deleted; expires=Tue, 05-Feb-02 19:40:39 GMT;
path=/;m
Transfer-Encoding: chunked                                             
        
Content-Type: text/html                                                
        
PLEASE, CAN ANYONE SHED SOME LIGHT ON THIS. I have been looking all
over the internet on various forums BUT i cannot get a solution to the
problem,

I am using PHP/MYSQL on a unix system in the US, which i am accessing
from telnet in spain. My browser is Internet Explorer 6.0.128
(initially i thought it was a browser issue since I had this working on
other browsers, but the telnet proof shows that it is not a browser
issue, the cookie has in fact been marked as DELETED!!!!).

regards
Mike Ferrer

------------------------------------------------------------------------

[2002-03-07 00:00:05] [EMAIL PROTECTED]

No feedback was provided for this bug for over a month, 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".

------------------------------------------------------------------------

[2002-02-06 14:00:02] [EMAIL PROTECTED]

I'm changing the category to HTTP and status to feedback. I do not
think this is a bug but want to give the submitter time to respond to
my inquiry.

------------------------------------------------------------------------

[2002-02-06 12:33:40] [EMAIL PROTECTED]

Is this even a bug?  It's under documentation problem.  Do I need to
change something in the documentation?


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/14255

-- 
Edit this bug report at http://bugs.php.net/?id=14255&edit=1

Reply via email to