[thelist] Internet Explorer Max Cookies

Mike Bird mike at mikebird.co.uk
Mon May 2 15:51:24 CDT 2005


Interesting.. I fixed the problem.

Although it seemed like a problem with IE setting the cookie is was 
actually a problem with IE not executing code after an onload event.

e.g. in this function

function load_img()
{
     var foo = 'bar';
     image.src = 'http://www.example.com/image.gif';
     image.onload = do_load();
     foo = '';  // will not execute
}

Thanks,
Mike

On 1 May 2005, at 18:01, Mike Bird wrote:

> Hi all,
>
> I have come across a very annoying problem in IE.. for all other 
> browsers it works. Basically an image is written onto the page every 
> 10 seconds which also contains a Set-Cookie header, which changes the 
> value of the same cookie, lets call it foo.
> Now in Safari, FireFox and Opera, every time the cookie is received, 
> foo is overwritten successfully and the expiry date updated, however 
> in IE, it works exactly 5 times, then fails to set any more cookies. I 
> have my privacy settings to the lowest setting and include a P3P 
> header.
>
> Do you have any idea of what is going on? I have tried google and only 
> found articles saying there is a limit of 20 cookies per domain but IE 
> ignores this.. and even so, I am updating the same cookie, not 
> creating a new one.
>
> Thanks,
> Mike



More information about the thelist mailing list