PC Review


Reply
Thread Tools Rate Thread

disabling session state in iis vs web.config

 
 
John A Grandy
Guest
Posts: n/a
 
      23rd Aug 2006
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 ?


 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      23rd Aug 2006
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.




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:(E-Mail Removed)...
> 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 ?
>



 
Reply With Quote
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      23rd Aug 2006
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

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




"John A Grandy" wrote:

> 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 ?
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to make the session state request to the session state server. dm1608 Microsoft ASP .NET 3 19th Dec 2009 03:32 AM
HttpException (0x8007274d): Unable to make the session state request to the session state server. Harry Haller Microsoft ASP .NET 0 7th Nov 2006 06:33 AM
Session state timing out in 20 min. regardless of web.config JJ Microsoft ASP .NET 0 5th Mar 2006 03:32 AM
Dynamic Session State Mode inside of Web.Config Beach Bum Microsoft ASP .NET 2 28th Mar 2005 08:18 PM
Using SQLServer Session State without connection string in web.config Chris Snyder Microsoft ASP .NET 1 23rd Aug 2004 01:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:35 PM.