Not able to access Session internal domain web application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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
 
I already have that option. Once I set the option

<pages enableSessionState="true"></pages> it is working fine.

Thanks,
Sridhar.
 
Back
Top