Weird bug causes Internet Explorer to toss its cookies

Check this out…if you create an <img> tag with an empty src attribute, it might cause Internet Explorer to dump your site’s cookies.  I’ve only tested/experienced this on IE8, so I don’t know all the versions that are affected.  I also don’t know if this happens on all web forms, or just those generated by ASP.Net.

Correction: actually, what’s happening is this:

“Blank src attribute causes IE to load the default document.”  …and in the case of the particular application that I was working on, going back to the default page caused my cookie to get overwritten.

See the comments on http://msdn.microsoft.com/en-us/library/ms535259%28v=vs.85%29.aspx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: