ASP.NET sessions are enabled in the web.config file for the application, not
in IIS. The default web.config should have inproc session enabled:
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
"Sridhar" wrote:
Hi,
I am trying to setup a ASP.NET 1.1 web application so that it will be
available only inside the domain. When I try to save the username in Session,
it is giving exception. How do I enable sessions in the iis?
Thanks,
Sridhar.