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.
> Is this a web form? It sounds like it is not. Have you tried a web form.
>
[quoted text clipped - 11 lines]
> > in http module list.
> > Whatever I do, nothing works,
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.
> 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
[quoted text clipped - 18 lines]
>> > in http module list.
>> > Whatever I do, nothing works,
Juan T. Llibre - 22 Aug 2007 12:08 GMT
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 español : http://asp.net.do/foros/
======================================
> Hi,
> Maybe at your machine.config session closed.
[quoted text clipped - 21 lines]
>>> > in http module list.
>>> > Whatever I do, nothing works,
Aleks Kleyn - 22 Aug 2007 14:34 GMT
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
> Hi,
> Maybe at your machine.config session closed.
[quoted text clipped - 26 lines]
> >> > in http module list.
> >> > Whatever I do, nothing works,