473,405 Members | 2,344 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,405 software developers and data experts.

Session variables are not getting initialized in global.asa file

I have initialized some session variables in Global.asa for our web
application.
But these session variables are returning null values; it is was
working fine before;
Recently we have rebuild our servers.

Please let me know if anyone of you have some idea?

May 10 '06 #1
7 3538
Do you have sessions enabled in the application or site in IIS? What OS is
on the server? Is it just one server, or do you have a few of them load
balanced?

Ray at work

"Rahul" <ve************@gmail.com> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...
I have initialized some session variables in Global.asa for our web
application.
But these session variables are returning null values; it is was
working fine before;
Recently we have rebuild our servers.

Please let me know if anyone of you have some idea?

May 10 '06 #2
In the IIS console :
- session enabled ?
- site root defined as a web application ?

--

"Rahul" <ve************@gmail.com> a écrit dans le message de news:
11*********************@i39g2000cwa.googlegroups.c om...
I have initialized some session variables in Global.asa for our web
application.
But these session variables are returning null values; it is was
working fine before;
Recently we have rebuild our servers.

Please let me know if anyone of you have some idea?

May 10 '06 #3
How to enable enable sessions in IIS.
Os: windows 2000 server. Its just one server.

May 11 '06 #4

"Rahul" <ve************@gmail.com> wrote in message
news:11**********************@j73g2000cwa.googlegr oups.com...
How to enable enable sessions in IIS.
Os: windows 2000 server. Its just one server.


In IIS Manager open the properties of the application.
On the Home Directory tab open the Configuration dialog under the
Application settings
Ensure the Cache ISAPI applications is checked.
Then on the app options tab make sure the Enable session state is checked.

Anthony.
May 11 '06 #5
i have enabled sessions in IIS still the problem is not solved.

please suggest?

May 11 '06 #6
Rahul wrote on 11 mei 2006 in microsoft.public.inetserver.asp.general:
i have enabled sessions in IIS still the problem is not solved.

please suggest?


Perhaps your IIS has shut down???

Perhaps show us some code?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
May 11 '06 #7

"Rahul" <ve************@gmail.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
i have enabled sessions in IIS still the problem is not solved.

please suggest?


Are you saying that you had to make the changes outlined or that they were
already set?

Is the browser you are using blocking the session cookie?

E.g in IE is the privacy level set to High or Block all?
May 11 '06 #8

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

Similar topics

9
by: Larry Woods | last post by:
I have a site that works fine for days, then suddenly, I start getting ASP 0115 errors with an indication that session variables IN SEPARATE SESSIONS have disappeared! First, for background...
5
by: Phil Grimpo | last post by:
I have a very odd situation here. I have an administration page, where based on a users permissions, a recordset is called from the SQL server which has a list of paths to "Module Menus". Each of...
4
by: Morten | last post by:
Hi! I've been implementing forms based authentication in a web project. It works pretty good. When I log on by clicking the "login" button the following code is executed: if...
3
by: Alan Wang | last post by:
Hi there, Once my application gets complicated and complicated. I found it's really hard to keep track of Session value I am using in my asp.net application. I am just wondering if anyone have...
27
by: Madhav | last post by:
Hi all, I did not understand why do the global vars are initialized to NULL where as the block level variables have random values? I know that the C standard requires this as was mentioned in a...
18
by: BillE | last post by:
When a user opens a new IE browser window using File-New-Window the integrity of an application which relies on session state is COMPLETELY undermined. Anyone who overlooks the fact that...
55
by: Zytan | last post by:
I see that static is more restricted in C# than in C++. It appears usable only on classes and methods, and data members, but cannot be created within a method itself. Surely this is possible in...
1
weaknessforcats
by: weaknessforcats | last post by:
C++: The Case Against Global Variables Summary This article explores the negative ramifications of using global variables. The use of global variables is such a problem that C++ architects have...
4
by: Cirene | last post by:
In my web.config I added <pages enableSessionState="true">. In each of my pages I also added EnableSessionState="True" to the Page declaration. (I didn't think this was necessary, but...) ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.