I
Igor K
Hi all,
I'm developing asp.net website. Most of the pages are aspx, but let's say,
some 10% are html. For this html pages i use httphandlers to intercept calls
and to perform some job on this pages.
Lately I need to access Session state in HttpHandler's code. This seems to
be the problem. I searched the internet for some solution, i always found
advice to dervie from IHttpHandler and that will do, but obivously not.
So I tried to solve it using Global.asax (to intercept the call also there
where I was expecting to find session state). Events are not even triggered
for my html pages when httphanlder is used. If I disable httphandler
temporary, events arrive, but no session object.
I tried HttpModules, the same problem arrises - no session for html page.
For aspx pages everything and everywhere works fine.
Any advice?
I forgot to mention that I'd like to use sessions in order to track my web
site user navigation (to build history list + abitlity to move back and
forward using custom back/forward buttons)
Thanks, any help is appreciated,
Igor
I'm developing asp.net website. Most of the pages are aspx, but let's say,
some 10% are html. For this html pages i use httphandlers to intercept calls
and to perform some job on this pages.
Lately I need to access Session state in HttpHandler's code. This seems to
be the problem. I searched the internet for some solution, i always found
advice to dervie from IHttpHandler and that will do, but obivously not.
So I tried to solve it using Global.asax (to intercept the call also there
where I was expecting to find session state). Events are not even triggered
for my html pages when httphanlder is used. If I disable httphandler
temporary, events arrive, but no session object.
I tried HttpModules, the same problem arrises - no session for html page.
For aspx pages everything and everywhere works fine.
Any advice?
I forgot to mention that I'd like to use sessions in order to track my web
site user navigation (to build history list + abitlity to move back and
forward using custom back/forward buttons)
Thanks, any help is appreciated,
Igor