context.Session is null

G

Guest

Hi;

I have a page that is created from a class using:
<httpHandlers>
<add verb="*" path="report-create.aspx" type="ReportCreate"/>
</httpHandlers>

and the code is:
public class ReportCreate : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
....

The problem is that context.Session is null as is
HttpContext.Current.Session - how do I get the session object?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top