O
oliver.wulff
Hi
I wrote a IHttpModule which should store an object in the session.
Unfortunately, the session is empty:
public void OnAuthenticateRequest(object o, EventArgs ea)
{
HttpApplication httpApp = (HttpApplication) o;
HttpSessionState session = httpApp.Context.Session;
If I set the WebMethod attribute 'EnableSession' of my webservice
(HttpModule is active either) I can access the session in the web service
method implementation but not in the HttpModule.
What am I doing wrong?
Oliver
I wrote a IHttpModule which should store an object in the session.
Unfortunately, the session is empty:
public void OnAuthenticateRequest(object o, EventArgs ea)
{
HttpApplication httpApp = (HttpApplication) o;
HttpSessionState session = httpApp.Context.Session;
If I set the WebMethod attribute 'EnableSession' of my webservice
(HttpModule is active either) I can access the session in the web service
method implementation but not in the HttpModule.
What am I doing wrong?
Oliver