Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13055 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74964 invoked by uid 1010); 28 Sep 2004 18:46:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 74933 invoked from network); 28 Sep 2004 18:46:50 -0000 Received: from unknown (HELO duplo.phpwebhosting.com) (66.132.170.61) by pb1.pair.com with SMTP; 28 Sep 2004 18:46:50 -0000 Received: (qmail 19142 invoked from network); 28 Sep 2004 18:46:50 -0000 Received: from unknown (HELO ?10.0.2.78?) (65.200.4.130) by duplo2.phpwebhosting.com with SMTP; 28 Sep 2004 18:46:50 -0000 Message-ID: <4159B1A4.8080705@ganx4.com> Date: Tue, 28 Sep 2004 11:47:00 -0700 User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dietrich Ayala CC: internals@lists.php.net References: <4159AC68.1060908@ganx4.com> In-Reply-To: <4159AC68.1060908@ganx4.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] max length of a cookie value? From: dietrich@ganx4.com (Dietrich Ayala) fyi: - i'm using php 4.3.7 on iis/winxp - the cookies are from Netegrity's Siteminder, a single-sign-on app just tested same scenario using php 4.3.2, and the value was *not* truncated. so i've either got a configuration issue of some kind, or it's a bug introduced since 4.3.2. repro code: if(!isset($_COOKIE['SMSESSION'])) { $setcookie = 1; setcookie('SMSESSION',"8/1d6WFvsI02Rw+e/KaP/UbwhaskmyUK14vz26b6K++AHGFK/LPidQ5sCsEPFu1AAOrCRWOycy4fhxlY9Ah30/f0zIj0IJIcnvBltkbeOnUnMZKC+AWoLImVJ+QnY6ypwMLQ86ib9z7m7gGta38Z+5ZiWrDPf2Q6lKyLrnk5eWWio7MlAZLz02b1q5hGdJFWMOychRTDDqyY4wNMhs9H4RtspYVrVIV/Du3KOk0REuAuhc9OWTyf1RcUvt6SP/90P/Q1//d48RWyFIJpoSKi2/W0dv+25Q4WcyHUPOID1YZD/NeatftivKIYzvoYLUi+p2YhaC4eX9nkhA+CHsUImm1nYLvIv4OFo19/c8ESpB8VMYo/mhZig/89NeNvJmflFNIrT7Grx33B1osa83qezigrELlYvbmfm3UueVjFQHGM9o6tPWxH+lPJnTdcPaJNLRbX5Tc8cvPi107E2ulE8/PYvm82ez+/gdql3nh37Gtz4H5ah4Iz/pWRHcUQFrzzAQGdapMNetzi/XDxrrx5hVAprU3ZPeYbtrVK8lP+IhDFz09fTlcQm124GHdJLpqasGokN4WIBGAG4dyJINSgfNlgmKyfrVMCX/jcIefPFMUqBGtLGZGqyVmMwmIXqJUdbLsNzvQDeJV/sex/X0hW/FdvleycC+DGn/kAH4TuHI5nRCePP0JzSpv9Xfe5iGRorHIRaPFKyjZxHxwXRMpAbAma/EOG2lcF0sYL8jh4mEf0Mf54zcFKPA/HzvSfkLw9D/oQ6e3Z9jZbBMTKmpKwRGVEeZovzlP71OqlDpnkX2J1bQkJbVa4BJVCkOVwfI8Vikf0TKLmDM25Q8pX8fYiapAC9SJ6KTEoI1tP2JYk5bOLafjPT1OjkEsgCYHDt642Ow9qhhkRwtMxw+cyXRIqYxOYNsSUCl8lhDq1KoaxeriURi2DXA0sS2VMuBGXpTNnyimJM l+uq7/6tRV1V4nkXm9dES1VQ8YdgwdOAyuiI"); } echo "setcookie: $setcookie
"; echo var_dump($_COOKIE); i'll file a bug on this if i don't hear otherwise from this list. thanks, dietrich Dietrich Ayala wrote: > we're experiencing truncation of cookie values. > > is there a hard-coded limit in php? > > there's nothing in the docs. i didn't find any bugs at bugs.php.net > about this. > > thanks, > > dietrich >