Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Session state is not available in this context

Reply
Thread Tools

Session state is not available in this context

 
 
=?Utf-8?B?RnJhbmsxMjEz?=
Guest
Posts: n/a
 
      11-16-2007
We ran into an issue on two of our client environments where our app is
deployed.( Windows 2003 SP2 servers). Our app is a web app .NET 1.1.
When the user browses to some pages located in a particular folder, they get
an error
Session state is not available in this context.
We resolved this by adding enableSessionState="true" to the individual pages
int the page directive. We can't reproduce this on any other environments
where our app is deployed.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      11-16-2007
Session State relies on cookies (unless you have cookieless mode set). So,
that should give you a clue.
You can also create a <pages enableSessionState="true" /> directive in your
web.config.

--Peter
"Inside every large program, there is a small program trying to get out."
http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://www.blogmetafinder.com



"Frank1213" wrote:

> We ran into an issue on two of our client environments where our app is
> deployed.( Windows 2003 SP2 servers). Our app is a web app .NET 1.1.
> When the user browses to some pages located in a particular folder, they get
> an error
> Session state is not available in this context.
> We resolved this by adding enableSessionState="true" to the individual pages
> int the page directive. We can't reproduce this on any other environments
> where our app is deployed.

 
Reply With Quote
 
 
 
Reply

Thread Tools

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
session state is not available in this context AliD ASP .Net 2 02-07-2010 07:22 AM
Session state is not available in this context. - (For certain fi =?Utf-8?B?Yg==?= ASP .Net 0 03-27-2007 11:10 PM
RE: Session state is not available in this context. - (For certain fi =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?= ASP .Net 0 03-27-2007 11:04 PM
Session state is not available in this context - webresource.axd ? kingski ASP .Net 1 05-11-2006 08:11 PM
Session state is not available in this context. =?Utf-8?B?UmFodWxfQm9yYWRl?= ASP .Net 0 11-06-2004 07:50 AM



Advertisments