DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 20 Aug 2007 07:40:01 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Aleks Kleyn
          2    Alvin Bruney [MVP] some guy without an email address
          3    Aleks Kleyn
          4    Bahadır ARSLAN
                 5    Juan T. Llibre
                 6    Aleks Kleyn


Enable session state   
I test asp.net 2.0 application on virtual PC for studio Orcas 2.0. When  I 
start application I get error in line
session("aa")="bb"
Error tells that I need to enable session state. I found in @page directive 
option
enableSessionState which has values false, readonly and true. I put this 
value true, however it did not help.  it is possible to put this value into 
web.config, but i did not find where. Also i need to add appropriate module 
in http module list.
Whatever I do, nothing works,
Date:Mon, 20 Aug 2007 07:40:01 -0700   Author:  

Re: Enable session state   
Is this a web form? It sounds like it is not. Have you tried a web form.

-- 
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET - MS Press
Professional VSTO 2005 - Wrox/Wiley
OWC Black Book www.lulu.com/owc

"Aleks Kleyn"  wrote in message 
news:6FE6D911-F583-45C3-8843-EDAD4918CB87@microsoft.com...

>I test asp.net 2.0 application on virtual PC for studio Orcas 2.0. When  I
> start application I get error in line
> session("aa")="bb"
> Error tells that I need to enable session state. I found in @page 
> directive
> option
> enableSessionState which has values false, readonly and true. I put this
> value true, however it did not help.  it is possible to put this value 
> into
> web.config, but i did not find where. Also i need to add appropriate 
> module
> in http module list.
> Whatever I do, nothing works, 
Date:Mon, 20 Aug 2007 20:27:08 -0400   Author:  

Re: Enable session state   
This is regular web form asp.net 2.0. in onLoad event i wrote 
session("aa")="bb". It  works in regular case. But I test it in win 2003 and 
studio Orcas. I need to understand what I need to enable session.

"Alvin Bruney [MVP]" wrote:


> Is this a web form? It sounds like it is not. Have you tried a web form.
> 
> -- 
> Regards,
> Alvin Bruney
> ------------------------------------------------------
> Shameless author plug
> Excel Services for .NET - MS Press
> Professional VSTO 2005 - Wrox/Wiley
> OWC Black Book www.lulu.com/owc
> 
> "Aleks Kleyn"  wrote in message 
> news:6FE6D911-F583-45C3-8843-EDAD4918CB87@microsoft.com...
> >I test asp.net 2.0 application on virtual PC for studio Orcas 2.0. When  I
> > start application I get error in line
> > session("aa")="bb"
> > Error tells that I need to enable session state. I found in @page 
> > directive
> > option
> > enableSessionState which has values false, readonly and true. I put this
> > value true, however it did not help.  it is possible to put this value 
> > into
> > web.config, but i did not find where. Also i need to add appropriate 
> > module
> > in http module list.
> > Whatever I do, nothing works, 
> 
> 
> 
Date:Mon, 20 Aug 2007 20:04:00 -0700   Author:  

Re: Enable session state   
Hi,
Maybe at your machine.config session closed.
Try to check maching.config, web.config (in the same directory) or 
web.config (int wwwroot directory)

I am not sure but in my opinion because of win2k3's security options it is 
not allowed by default.

"Aleks Kleyn" , iletisinde şunu yazdı, 
news:0D74363A-8D6E-4E0F-9605-6475B1DD5C7A@microsoft.com...

> This is regular web form asp.net 2.0. in onLoad event i wrote
> session("aa")="bb". It  works in regular case. But I test it in win 2003 
> and
> studio Orcas. I need to understand what I need to enable session.
>
> "Alvin Bruney [MVP]" wrote:
>
>> Is this a web form? It sounds like it is not. Have you tried a web form.
>>
>> -- 
>> Regards,
>> Alvin Bruney
>> ------------------------------------------------------
>> Shameless author plug
>> Excel Services for .NET - MS Press
>> Professional VSTO 2005 - Wrox/Wiley
>> OWC Black Book www.lulu.com/owc
>>
>> "Aleks Kleyn"  wrote in message
>> news:6FE6D911-F583-45C3-8843-EDAD4918CB87@microsoft.com...
>> >I test asp.net 2.0 application on virtual PC for studio Orcas 2.0. When 
>> >I
>> > start application I get error in line
>> > session("aa")="bb"
>> > Error tells that I need to enable session state. I found in @page
>> > directive
>> > option
>> > enableSessionState which has values false, readonly and true. I put 
>> > this
>> > value true, however it did not help.  it is possible to put this value
>> > into
>> > web.config, but i did not find where. Also i need to add appropriate
>> > module
>> > in http module list.
>> > Whatever I do, nothing works,
>>
>>
>> 
Date:Wed, 22 Aug 2007 09:21:42 +0300   Author:  

Re: Enable session state   
re:
!> in my opinion because of win2k3's security options it is not allowed by default

The default setting for session state is "InProc",
which means that sessions are allowed no matter which OS is used.

If you don't want sessions, you have to set sessionstate to "Off",
either in the <sessionstate mode...> or the <pages sessionstate...> elements in web.config
..
That disables the use of sessions.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"Bahadir ARSLAN"  wrote in message 
news:9ED6DAFD-63CC-48CC-8D8C-A9823D04F851@microsoft.com...

> Hi,
> Maybe at your machine.config session closed.
> Try to check maching.config, web.config (in the same directory) or web.config (int wwwroot directory)
>
> I am not sure but in my opinion because of win2k3's security options it is not allowed by default.
>
> "Aleks Kleyn" , iletisinde sunu yazdi, 
> news:0D74363A-8D6E-4E0F-9605-6475B1DD5C7A@microsoft.com...
>> This is regular web form asp.net 2.0. in onLoad event i wrote
>> session("aa")="bb". It  works in regular case. But I test it in win 2003 and
>> studio Orcas. I need to understand what I need to enable session.
>>
>> "Alvin Bruney [MVP]" wrote:
>>
>>> Is this a web form? It sounds like it is not. Have you tried a web form.
>>>
>>> -- 
>>> Regards,
>>> Alvin Bruney
>>> ------------------------------------------------------
>>> Shameless author plug
>>> Excel Services for .NET - MS Press
>>> Professional VSTO 2005 - Wrox/Wiley
>>> OWC Black Book www.lulu.com/owc
>>>
>>> "Aleks Kleyn"  wrote in message
>>> news:6FE6D911-F583-45C3-8843-EDAD4918CB87@microsoft.com...
>>> >I test asp.net 2.0 application on virtual PC for studio Orcas 2.0. When I
>>> > start application I get error in line
>>> > session("aa")="bb"
>>> > Error tells that I need to enable session state. I found in @page
>>> > directive
>>> > option
>>> > enableSessionState which has values false, readonly and true. I put this
>>> > value true, however it did not help.  it is possible to put this value
>>> > into
>>> > web.config, but i did not find where. Also i need to add appropriate
>>> > module
>>> > in http module list.
>>> > Whatever I do, nothing works,
>>>
>>>
>>>
> 
Date:Wed, 22 Aug 2007 07:08:43 -0400   Author:  

Re: Enable session state   
you catched the point. I do not know about machine.config and I decided to 
look to webroot. I did not find machine.config, but in the main folder there 
is web.config as well. There reference to http module for sessionState was 
commented (I need to find answer why; this is team foundation server). When I 
uncommented this reference everything works fine

"Bahadır ARSLAN" wrote:


> Hi,
> Maybe at your machine.config session closed.
> Try to check maching.config, web.config (in the same directory) or 
> web.config (int wwwroot directory)
> 
> I am not sure but in my opinion because of win2k3's security options it is 
> not allowed by default.
> 
> "Aleks Kleyn" , iletisinde şunu yazdı, 
> news:0D74363A-8D6E-4E0F-9605-6475B1DD5C7A@microsoft.com...
> > This is regular web form asp.net 2.0. in onLoad event i wrote
> > session("aa")="bb". It  works in regular case. But I test it in win 2003 
> > and
> > studio Orcas. I need to understand what I need to enable session.
> >
> > "Alvin Bruney [MVP]" wrote:
> >
> >> Is this a web form? It sounds like it is not. Have you tried a web form.
> >>
> >> -- 
> >> Regards,
> >> Alvin Bruney
> >> ------------------------------------------------------
> >> Shameless author plug
> >> Excel Services for .NET - MS Press
> >> Professional VSTO 2005 - Wrox/Wiley
> >> OWC Black Book www.lulu.com/owc
> >>
> >> "Aleks Kleyn"  wrote in message
> >> news:6FE6D911-F583-45C3-8843-EDAD4918CB87@microsoft.com...
> >> >I test asp.net 2.0 application on virtual PC for studio Orcas 2.0. When 
> >> >I
> >> > start application I get error in line
> >> > session("aa")="bb"
> >> > Error tells that I need to enable session state. I found in @page
> >> > directive
> >> > option
> >> > enableSessionState which has values false, readonly and true. I put 
> >> > this
> >> > value true, however it did not help.  it is possible to put this value
> >> > into
> >> > web.config, but i did not find where. Also i need to add appropriate
> >> > module
> >> > in http module list.
> >> > Whatever I do, nothing works,
> >>
> >>
> >> 
> 
Date:Wed, 22 Aug 2007 06:34:01 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us