472,353 Members | 2,174 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 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 3495
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...
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...
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...
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...
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...
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...
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...
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...
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. ...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

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.