This question is locked. New answers and comments are not allowed.
Hi,
I have been setting up a web application with Open Access and I have been very happy with the product. I was following the best practices by using an HTTP module for containing the ObjectScope and I have run into an issue. When following this, I am not seeing the HTTP module's PreRequestHandlerExecute method being invoked when calling PageMethods from an ASP.Net page. This means that the ObjectScope is not available in the session when running code through the PageMethod. I am running this solution under VS 2008 and using the development web server that ships with it. At first I thought it might be the fact that the url is http://localhost/mypage.aspx/<pagemethod name> and it is not treating it exactly like an ASPX page but everything I have read said that The development server should route all requests through the asp.net pipeline. If needed, I can send you a quick sample project showing the behavior.
Do you have any suggestions on how to work around this?
Thanks!
I have been setting up a web application with Open Access and I have been very happy with the product. I was following the best practices by using an HTTP module for containing the ObjectScope and I have run into an issue. When following this, I am not seeing the HTTP module's PreRequestHandlerExecute method being invoked when calling PageMethods from an ASP.Net page. This means that the ObjectScope is not available in the session when running code through the PageMethod. I am running this solution under VS 2008 and using the development web server that ships with it. At first I thought it might be the fact that the url is http://localhost/mypage.aspx/<pagemethod name> and it is not treating it exactly like an ASPX page but everything I have read said that The development server should route all requests through the asp.net pipeline. If needed, I can send you a quick sample project showing the behavior.
Do you have any suggestions on how to work around this?
Thanks!