473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

enableSessionState value

Dan
Hi,

I would like to know if it's possible to get the value of
EnableSessionState programatically in a web page.

Thank you!

Feb 1 '07 #1
1 1184
Dan
I found it :

PagesSection ps = new PagesSection();
if (ps.EnableSessionState == true)
{
//
}
On 1 fév, 13:40, "Dan" <danyclout...@gmail.comwrote:
Hi,

I would like to know if it's possible to get the value of
EnableSessionState programatically in a web page.

Thank you!

Feb 1 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: John Baughman | last post by:
I am attempting to move my asp.net application to Windows Server 2003 with Windows Sharepoint Services (beta) installed. The application was working fine in 2000 with Sharepoint Team Services...
0
by: Brad | last post by:
Hello Everyone, I was wondering if the following line at the top of my global.asa file is legal: <SCRIPT @ENABLESESSIONSTATE = FALSE LANGUAGE = VBSCRIPT RUNAT = SERVER> It does not produce...
0
by: Brad | last post by:
Hello Everyone, I was wondering if the following line at the top of my global.asa file is legal: <SCRIPT @ENABLESESSIONSTATE = FALSE LANGUAGE = VBSCRIPT RUNAT = SERVER> It does not produce...
4
by: abcd | last post by:
I have an asp page in which first line is <@ ENABLESESSIONONSTATE = false %> I want to stop the sessions for this page. I have global.asa page whose code is like this <SCRIPT RUNAT=Server...
2
by: Marco Gerlach | last post by:
Hello, on IIS6 running on Win2003 server std. I get this error "enablesessionstate Page directive is needed to use the Session object" my web.config looks like this:
6
by: Martin | last post by:
Hi, I had a page the other day for which the compiler just wouldn't recognize the fact that I had enabled session state in every possible way. I ended up moving the code that dealt with the...
3
by: David Lozzi | last post by:
Error: Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive at line 6 Line 4: <script RUNAT="SERVER"> Line 5: ...
3
by: Sean W. | last post by:
I keep getting this error. "Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive" This occurs when I try to add a...
6
by: KevinGravelle | last post by:
What is wrong with this picture? I'm trying to set my shopping cart text on my home page using the following function that is executed when the class is constructed: protected string...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.