Geeks With Blogs
Jonas Bush July 2009 Entries
Images being requested twice from the server
*taptaptap* Is this thing on? I ran into an interesting bug recently, where you would get 2 identical requests to the page you were visiting. I wasn't sure where this was coming from, so I poked around a bit. It turns out that having an <img /> tag on a page with an empty src attribute (like so: <img src="" />) causes that image tag to point to the containing page, causing the entire page to get requested again (causing any server-side code you may have to get executed again), but the ......

Posted On Monday, July 13, 2009 9:55 AM

Copyright © Jonas Bush | Powered by: