Session is null in ashx handler

  • Thread starter Thread starter Jan Kucera
  • Start date Start date
J

Jan Kucera

Hi,
why is session object null if the ashx file is requested? How can I force
to create session when the request is to custom handler?

Thanks,
Jan
 
At what point are you trying to get the session?
For instance, it wouldn't be available inside of a constructor or a finalizer
 
Yes, that was the point as I found on the web later. Sorry for the FAQ, the
answer was easier than I thought it would be.
Jan
 
Back
Top