I have an ASP.NET web application where i am having multiple subrirectories in the root folder.in my root web.config, i have sessionMode as ‘StateServer’ . So in one page of my subdirectory, i am not able to do serialization. If i change the SessionMode method to ‘InProc’ , it will work fine. I want to maintain the web.config file in the root directory as it is.So i am planning about having another web.config file in sub directory.Can anyone tell me how to do this ?
Thanks in advance
You can just place a new web.config file in the sub-directory and ASP.NET will override any settings you change in that directory.