httpcontext null in webbaseevent(webeventprovider) handler

  • Thread starter Thread starter parez
  • Start date Start date
P

parez

Hi all,


HttpContext.Current is null in my webeventprovider. Why would that be?

I am using a customwebbaseevent.

Please Help.
Thanks inadvance.
 
Depends on when you're trying to access the HttpContext. It probably won't
be available at some point is the class's lifecycle (e.g. within the
contsructor)
 
Hi David, Thanks for replying.


I was trying to use it in ProcessEvent function.


Thanks,
 
Also I am trying to access it from the processevent function of an
event provider for the
heartbeat event.
 
Also I am trying to access it from the processevent function of an
event provider for the
heartbeat event.
 

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

Back
Top