i am making a Website with c# and ASP.NET 3.5, i just made an HttpModule to handle the NHibernate Session Life (Open and close).
I added it to the web.config and everything works fine. (all the query, code, etc working fine) except that CSS file of my masterpage is not loading !!
it’s so strange for me,
Do you have any idea what is the cause of this behavior ?
Thank You all,
at last i found the solution, the problem source is working with the session in the HttpModule events cause strange problems.
actually it is a known issue in Asp.net and IIS and the solution is reported Here at ASP.NET forum. also there is a sample code to solve the problem in link.
I tested and my problem solved!
Thanks All,