Reputation: 1106
MY applictaion = Asp.net 4.0 + EF + WCF services + Database MYSQL all are different project(n tier architecture)
I am using sessionState mode="Custom"(storing session info in the DB) in my WEB project
My problem==> I know the session ID but how to get other session value in the other project like WCF Project
Upvotes: 0
Views: 413
Reputation: 1039438
The ASP.NET Session cannot be shared between different applications that are hosted in different application pools in IIS. There are hacks that could allow you to do it but it is not recommended. The WCF service shouldn't depend on any session or it will be less reusable. The ASP.NET application which is consuming this service could pass all the necessary information when invoking a method.
Upvotes: 1