Skip to content

Tag Archives: Http Handler

How to use Session objects in an HttpHandler

15-Sep-09

In my previous post, Captcha using ASP.Net and C#, you may noticed that I am not talking about how can I validate the user is entering correct value or not. I thought of using Sessions for this purpose, like in the HTTP Handler, I wrote some code like

context.Session["captcha"] = drawString;

But that code failed, by throwing [...]