View Complete Post
I'm developing Visual Studio 2010 solution for site pages. I’ve created Site Pages in SharePoint 2010 and I’m trying to access Session variables in code
behind in ASP.NET but it throws the following error.
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please
also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.
I set the page directive as
I've created a FBA enabled site.In that I want my FBA users would not able to acess specific subsites.And I want to acheive it programatically.Pls help me.