Hi.

Why IE doesn't receive a cookie and Netscape receive it?

Server Apache 1.3.19
PHP4 (4.0.6)

./configure --with-mysql \
            --with-apxs=/usr/local/apache/bin/apxs \
            --enable-trans-sid

php.ini
[only most importants]

session.use_cookies = 1
session.auto_start = 0
session.cookie_lifetime = 1200
session.serialize_handler = php
session.gc_probability = 10
session.gc_maxlifetime = 600
session.referer_check =
session.entropy_length = 0
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 1

****************************


When I go to http://mydomain/contador.php


Netscape receive a warning about a cookie. I accept it and SID
transparently doesn't necessary use it.


IE doesn't receive this warning. (I have configurated it for receive a
warning and works fine, i have tried it). When I clic over "clic here"
then SID transparently works fine, but I want to use the cookie. I want
use SID transparently only if browser reject the cookie.

Why, why, why, ... IE doesn't receive the cookie that yes receive
Netscape?????.


Anybody can try the example at bottom?


Example for my tries.
*********************

contador.php


<?php
 session_register ("count");
 $count++;
?>

Hello visitor, you have seen this page <?php echo $count; ?> times.<p>

<php?
# the <?=SID?> is necessary to preserve the session id
# in the case that the user has disabled cookies
?>

To continue, <A HREF="nextpage.php?<?=SID?>">click here</A>

**************************************************************

-- 
 Enrique Rodríguez Lázaro

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to