Author: IMDeeDee | Posted on: 6/15/2008 11:36:08 PM | Views : 303

Hello, 
I want to set cookieless="true" for a particular folder of my web application and Except this folder all other pages which supports Cookies.
What i did is,
I created a folder with required aspx pagesI created a web.config into that folderand set configuration as <sessionState  cookieless="true" timeout="20" /> 
It gives me following errors:


Error 1:   It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.........

Error 2:  .......ASP.NET runtime error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in I ...

Go to the complete details ...