IHttpHandler and Session

As a follow-up to yesterday’s post, I needed the ImageRequestHandler to retrieve data from an external source, rather than always generating the same graph. For some reason, though, the Session object inside ProcessRequest’s HttpContext was always null. It turns out that you need to mark your class with IReadOnlySessionState or IRequiresSessionState if you want access…


Dynamic image retrieval with .axd

A lot of my work these days deals with images in web controls; I had an earlier post completed about pulling down portions of an image through JavaScript to piece together a very wide image client-side, but then directions shifted and I never got around to posting it. For the current control we need to…

5