Jeremy,
in my case every server seems to be 'particular'. I mean, I never suceeded
to access session variables in HttpHandler.
E.g., I have Asp.Net application where I use Session as storage for some of
my objects. In my application I have certain folders (with html files)
configured to be handled with HttpHandler. There I never see the same
session as in the rest of the application. In fact session ID inside matches
(!), but IsNewSession is always equal to 'true', and Session is empty (there
are no values that I expect to find).
I was thinking maybe that the reason could be the configuration. Every
HttpHanlder is configured as application (in IIS console), so I was having a
doubt that this (separate) application has it's separate session. After I
tried to handle http request in my application root (thus having HttpHandler
and my main application as one) the same thing was occuring.
Any clue?
Igor
----- Original Message -----
From: "Jeremy Lew" <js***@hotmail.com>
Newsgroups: microsoft.public.dotnet.framework.aspnet
Sent: Saturday, September 25, 2004 5:30 PM
Subject: null Session object in HttpHandler
When my HttpHandler is processing a request when installed on a particular
2003 Server machine, the Context.Session object is null. Any idea why this
might be? My handler implements IRequiresSessionState and works normally
on
other machines.
Thanks,
Jeremy