php cookie firefox/IE

php cookie firefox/IE - PHP - Programmation

Marsh Posté le 10-08-2007 à 16:23:20    

bonjour à tous
 
je fais un petit programme PHP qui utilise des cookies, tout fonctionne sur Firefox, mais pas dans Internet Explorer
Firefox 5.0
IE 6.0
 

Code :
  1. setcookie("PESRuser", $_POST['userL'], time()+600, "/" );


 
merci de m'éclairer

Reply

Marsh Posté le 10-08-2007 à 16:23:20   

Reply

Marsh Posté le 10-08-2007 à 17:45:00    

Tiens ca peut peut etre t'éclairer ?
Note when setting "array cookies" that a separate cookie is set for each element of the array.
 
On high traffic sites, this can substantially increase the size of subsequent HTTP requests from clients (including requests for static content on the same domain).
 
More importantly though, the cookie specification says that browsers need only accept 20 cookies per domain.  This limit is increased to 50 by Firefox, and to 30 by Opera, but IE6 and IE7 enforce the limit of 20 cookie per domain.  Any cookies beyond this limit will either knock out an older cookie or be ignored/rejected by the browser.
 
Tiré de http://fr.php.net/setcookie

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed