disabling session state in iis vs web.config

J

John A Grandy

Enabling / disabling session state can be controlled at the web.config and
the iis web site levels. If session state is disabled in web.config , is
there any reason to also disable it at the iis web site level ?
 
J

Juan T. Llibre

re:
If session state is disabled in web.config , is there any reason to also disable it at the iis web
site level ?

Short answer : no.

<sessionState mode="Off" />

....is fine for that application...and that application only.
 
G

Guest

The session state in IIS that you describe is the classic ASP Session state
only - nothing to do with ASP.NET Session state, which is controlled in
either the web.config or at the individual page level in either the @Page
directive or in the codebehind class.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top