Session variables start disappearing after DAYS of working fine!

L

Larry Woods

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 information, I have a customized 500-100 page that
sends the value of various session variables via email to my support site.

The situation:

On the home page of the site, the FIRST THING that is done is a Session
variable is created that saves the Session ID. I see an ASP 0115 error thru
the email, with NO value defined for the session variable that SHOULD
contain the Session ID. After the first error, I see more of them.

Any ideas??? (I have looked at aspfaq already)

TIA,

Larry Woods
 
L

Larry Woods

Thanks, Bob,

I have previously reviewed all of these. The thing that is unique about
this error is that it only occurs intermittently--about once a week. The
problems that are noted in the support posts mostly reference errors that
are immediate, based upon a patch, version change, etc. This site is not
being touched.

Oh, well. I'll just keep looking...

Thanks, again,

Larry Woods
 
B

Brian Staff

Larry,

Could it be that the session is timing out correctly...someone went to lunch
perhaps! but your pages went ahead processing using NULL session variables
thus causing a component to malfunction and eventually giving you ASP0115
errors?

JAT - Brian
 
E

Egbert Nierop \(MVP for IIS\)

Larry Woods said:
Thanks, Bob,

I have previously reviewed all of these. The thing that is unique about
this error is that it only occurs intermittently--about once a week. The
problems that are noted in the support posts mostly reference errors that
are immediate, based upon a patch, version change, etc. This site is not
being touched.

Oh, well. I'll just keep looking...
This might indicate a leak or something. In that case just reset IIS after x
days using task scheduler for instance.
On IIS 6 this can be set in COM+...
 
L

Larry Woods

The leak is a possibility. I am using a small Jet (Access) database for
parameter data. I read somewhere that you can get a memory leak in IIS if
you are using Jet. Have you seen this citation?

TIA,

Larry Woods
 
F

Felix Wu [MSFT]

Hi Larry,

Besides, is it possible that the global.asax file was modified due to some
reasons, which made the web application reloaded. Also, check the Event log
on the server and see if the IIS service was restarted or something like
that.

Regards,

Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
 
L

Larry Woods

Thanks, Felix,

It's ASP, not ASP.NET so global.asax isn't the problem. Also, I have
verified that IIS is not being restarted. I think that I might have a
memory leak but can't verify whether this would cause a ASP 0115.

Larry
 
F

Felix Wu [MSFT]

Hi Larry ,

I apologize for my typo. I meant "global.asa", not global.asax. If this
file is updated, the ASP engine will restart the ASP application and all
sessions in this application wil be discarded. This can be caused by some
Anti-virus softwares. When the global.asa is scanned (not modified), the
ASP engine thinks it has been updated and restarts the Web application.

Regards,

Felix Wu
=======
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
From: "Larry Woods" <[email protected]>
References: <[email protected]>
 
F

Felix Wu [MSFT]

Hi Larry,

How the problem is going? To check if the web application is re-started,
you can add logging code to the Application Start event in the global.asa.
Then you can verify how often it is restarted.

Regards,

Felix Wu
=======
This posting is provided "AS IS" with no warranties, and confers no rights.



--------------------
X-Tomcat-ID: 148312967
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
From: (e-mail address removed) (Felix Wu [MSFT])
Organization: Microsoft
Date: Tue, 09 Sep 2003 06:18:35 GMT
Subject: Re: Session variables start disappearing after DAYS of working fine!
X-Tomcat-NG: microsoft.public.inetserver.asp.general
Message-ID: <[email protected]>
Newsgroups: microsoft.public.inetserver.asp.general
Lines: 93
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.asp.general:252048
NNTP-Posting-Host: TOMCATIMPORT2 10.201.218.182

Hi Larry ,

I apologize for my typo. I meant "global.asa", not global.asax. If this
file is updated, the ASP engine will restart the ASP application and all
sessions in this application wil be discarded. This can be caused by some
Anti-virus softwares. When the global.asa is scanned (not modified), the
ASP engine thinks it has been updated and restarts the Web application.

Regards,

Felix Wu
=======
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
From: "Larry Woods" <[email protected]>
References: <[email protected]>
Subject: Re: Session variables start disappearing after DAYS of working fine!
Date: Mon, 8 Sep 2003 06:45:49 -0700
Lines: 70
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <edVhc#[email protected]>
Newsgroups: microsoft.public.inetserver.asp.general
NNTP-Posting-Host: ip68-2-97-113.ph.ph.cox.net 68.2.97.113
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.asp.general:251980
X-Tomcat-NG: microsoft.public.inetserver.asp.general

Thanks, Felix,

It's ASP, not ASP.NET so global.asax isn't the problem. Also, I have
verified that IIS is not being restarted. I think that I might have a
memory leak but can't verify whether this would cause a ASP 0115.

Larry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,091
Messages
2,570,605
Members
47,225
Latest member
DarrinWhit

Latest Threads

Top