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
enableSessionSt ate 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, 5 7283
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" <Al********@dis cussions.micros oft.comwrote in message
news:6F******** *************** ***********@mic rosoft.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
enableSessionSt ate 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,
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" <Al********@dis cussions.micros oft.comwrote in message
news:6F******** *************** ***********@mic rosoft.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
enableSessionSt ate 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,
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" <Al********@dis cussions.micros oft.com>, iletisinde şunu yazdı,
news:0D******** *************** ***********@mic rosoft.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" <Al********@dis cussions.micros oft.comwrote in message news:6F******* *************** ************@mi crosoft.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
enableSessionSt ate 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,
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/
=============== =============== ========
"Bahadir ARSLAN" <ba************ @netron.com.trw rote in message
news:9E******** *************** ***********@mic rosoft.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" <Al********@dis cussions.micros oft.com>, iletisinde sunu yazdi,
news:0D******** *************** ***********@mic rosoft.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 Professiona l VSTO 2005 - Wrox/Wiley OWC Black Book www.lulu.com/owc
"Aleks Kleyn" <Al********@dis cussions.micros oft.comwrote in message news:6F****** *************** *************@m icrosoft.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 enableSessionS tate 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,
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" <Al********@dis cussions.micros oft.com>, iletisinde şunu yazdı,
news:0D******** *************** ***********@mic rosoft.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" <Al********@dis cussions.micros oft.comwrote in message
news:6F******** *************** ***********@mic rosoft.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
enableSessionSt ate 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, This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Johan Nedin |
last post by:
Hello!
I have a problem with SQLSession state on my ASP.NET pages.
SQLSession state behaves very different from InProcess session state,
which I think is very bad.
I can understand some of the differences, e.g that every object you
store in SQLSession state have to be serializable, but other
differences are very unfortunate.
|
by: tshad |
last post by:
I have been using the default session state (InProc) and have found that I
have been loosing my information after a period of time (normally 20
minutes).
Is there anyway to find out how much more time I have on a session?
If I do a refresh, does reset the session clock?
Do you have have to go to another page to reset the session timeout or will
a postback also do it? This is important as we have a few pages that a user
|
by: gabedog |
last post by:
What would be a good (and safe) way to enable/disable a web site in a
web farm that needs to come down for maintenance?
Periodically, we have db folks that run db scripts. I'd like to put a
back door page with a login that would allow me to remotely enable and
disable the site. The site is in a web farm. The site has a previously
posted message to users when the site will go down. How can this be
done safely and efficiently in a web farm...
|
by: BubbaThree |
last post by:
I started having these problems Monday, I believe but I am not sure that our
corporate office deployed some security patches???
First of all, when a go to my Web Application (written in ASP.NET 7.1.3088
on .Net framework 1.1.4322 sp1) the IE address bar has
http://localhost/Projects/(zpthtrn2armpusfzos2fnh45)/Default.aspx ; the stuff
in parenthesis was not there before Monday., The stuff in parenthesis
changes each time I start a new...
|
by: Ken Varn |
last post by:
I have tried to enable session state in my tag, but it appears
to not be working. When my web service is called, the session state is not
preserved. The Web Service is being called from a Windows Form control
assembly. Is there anything else I need to do to have session state work in
my web service?
--
-----------------------------------
Ken Varn
Senior Software Engineer
| |
by: Glenn |
last post by:
Hi
I've been experimenting with managing state using the Session object. I've
created a simple WS with a couple of methods, one which sets a string
value, another that retrieves it.
Each method has the WebMethodAttribute.EnableSession set to true.
When I run the test page the session is maintained. However, using a
console application, in between setting the string value and attempting to
|
by: kpg* |
last post by:
Hi all,
I have a web service with two similar methods, one for production
and one for testing.
On the test method I enable session state so I can dump out debug
files named with the session id and cross reference them a log file.
It also keeps the files unique to each user session.
|
by: Robin9876 |
last post by:
In an ASP.Net using framework v2 what is required to enable session
state to be setup for the web code and the database?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |