Hi all,
I have a web application that uses State Server for session handling. The
web application randomly loses all session variables.
The sessions are not always lost, sometimes I can use the application for a
day or so, and sometimes the sessions are lost every 5 minutes.
I've read some discussions about different things that cause the application
to restart and then lose its sessions. But this only occurs when using InProc
as session handling....
Any ideas would be appreciated! 9 3215
check your server logs, see if the state server application has been
recycled for any reason
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------
"AndersBj" <An******@discussions.microsoft.com> wrote in message
news:D2**********************************@microsof t.com... Hi all, I have a web application that uses State Server for session handling. The web application randomly loses all session variables.
The sessions are not always lost, sometimes I can use the application for
a day or so, and sometimes the sessions are lost every 5 minutes.
I've read some discussions about different things that cause the
application to restart and then lose its sessions. But this only occurs when using
InProc as session handling....
Any ideas would be appreciated!
Hi, thanks for your reply.
The only thing I can find in the event log that looks a bit strange is the
following:
"State server stops listening"
Followed by by this shortly after:
"State server starts listening with 6 listeners"
What does these events mean? Is there any other logs I can check?
Thanks in advance,
/Anders
"Alvin Bruney - ASP.NET MVP" wrote: check your server logs, see if the state server application has been recycled for any reason
-- Regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ www.lulu.com/owc Forth-coming VSTO.NET - Wrox/Wiley 2006 ------------------------------------------------------- "AndersBj" <An******@discussions.microsoft.com> wrote in message news:D2**********************************@microsof t.com... Hi all, I have a web application that uses State Server for session handling. The web application randomly loses all session variables.
The sessions are not always lost, sometimes I can use the application for a day or so, and sometimes the sessions are lost every 5 minutes.
I've read some discussions about different things that cause the application to restart and then lose its sessions. But this only occurs when using InProc as session handling....
Any ideas would be appreciated!
hmm, i've never seen this before. Obviously something is amiss. have you
tried googling for it. I did find a couple links but these were for sql
server with known issues. It's probably an issue as well.
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------
"AndersBj" <An******@discussions.microsoft.com> wrote in message
news:97**********************************@microsof t.com... Hi, thanks for your reply.
The only thing I can find in the event log that looks a bit strange is the following:
"State server stops listening"
Followed by by this shortly after:
"State server starts listening with 6 listeners"
What does these events mean? Is there any other logs I can check?
Thanks in advance,
/Anders
"Alvin Bruney - ASP.NET MVP" wrote:
check your server logs, see if the state server application has been recycled for any reason
-- Regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ www.lulu.com/owc Forth-coming VSTO.NET - Wrox/Wiley 2006 ------------------------------------------------------- "AndersBj" <An******@discussions.microsoft.com> wrote in message news:D2**********************************@microsof t.com... Hi all, I have a web application that uses State Server for session handling.
The web application randomly loses all session variables.
The sessions are not always lost, sometimes I can use the application
for a day or so, and sometimes the sessions are lost every 5 minutes.
I've read some discussions about different things that cause the application to restart and then lose its sessions. But this only occurs when using InProc as session handling....
Any ideas would be appreciated!
I did some Googling, but nothing much came up. I also checked the time for
these events with the time when the problems have occured and they don't seem
to match. So I'm guessing that there is someting else that is causing this...
Any other ideas would be greatly appreciated.
/Anders
"Alvin Bruney - ASP.NET MVP" wrote: hmm, i've never seen this before. Obviously something is amiss. have you tried googling for it. I did find a couple links but these were for sql server with known issues. It's probably an issue as well.
-- Regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ www.lulu.com/owc Forth-coming VSTO.NET - Wrox/Wiley 2006 ------------------------------------------------------- "AndersBj" <An******@discussions.microsoft.com> wrote in message news:97**********************************@microsof t.com... Hi, thanks for your reply.
The only thing I can find in the event log that looks a bit strange is the following:
"State server stops listening"
Followed by by this shortly after:
"State server starts listening with 6 listeners"
What does these events mean? Is there any other logs I can check?
Thanks in advance,
/Anders
"Alvin Bruney - ASP.NET MVP" wrote:
check your server logs, see if the state server application has been recycled for any reason
-- Regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ www.lulu.com/owc Forth-coming VSTO.NET - Wrox/Wiley 2006 ------------------------------------------------------- "AndersBj" <An******@discussions.microsoft.com> wrote in message news:D2**********************************@microsof t.com... > Hi all, > I have a web application that uses State Server for session handling. The > web application randomly loses all session variables. > > The sessions are not always lost, sometimes I can use the application for a > day or so, and sometimes the sessions are lost every 5 minutes. > > I've read some discussions about different things that cause the application > to restart and then lose its sessions. But this only occurs when using InProc > as session handling.... > > Any ideas would be appreciated!
I'll take a look at this in the next 1/2 hour or so.
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------
"AndersBj" <An******@discussions.microsoft.com> wrote in message
news:D3**********************************@microsof t.com... I did some Googling, but nothing much came up. I also checked the time for these events with the time when the problems have occured and they don't
seem to match. So I'm guessing that there is someting else that is causing
this... Any other ideas would be greatly appreciated.
/Anders "Alvin Bruney - ASP.NET MVP" wrote:
hmm, i've never seen this before. Obviously something is amiss. have you tried googling for it. I did find a couple links but these were for sql server with known issues. It's probably an issue as well.
-- Regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ www.lulu.com/owc Forth-coming VSTO.NET - Wrox/Wiley 2006 ------------------------------------------------------- "AndersBj" <An******@discussions.microsoft.com> wrote in message news:97**********************************@microsof t.com... Hi, thanks for your reply.
The only thing I can find in the event log that looks a bit strange is
the following:
"State server stops listening"
Followed by by this shortly after:
"State server starts listening with 6 listeners"
What does these events mean? Is there any other logs I can check?
Thanks in advance,
/Anders
"Alvin Bruney - ASP.NET MVP" wrote:
> check your server logs, see if the state server application has been > recycled for any reason > > -- > Regards, > Alvin Bruney [MVP ASP.NET] > > [Shameless Author plug] > The Microsoft Office Web Components Black Book with .NET > Now Available @ www.lulu.com/owc > Forth-coming VSTO.NET - Wrox/Wiley 2006 > ------------------------------------------------------- > > > > "AndersBj" <An******@discussions.microsoft.com> wrote in message > news:D2**********************************@microsof t.com... > > Hi all, > > I have a web application that uses State Server for session
handling. The > > web application randomly loses all session variables. > > > > The sessions are not always lost, sometimes I can use the
application for > a > > day or so, and sometimes the sessions are lost every 5 minutes. > > > > I've read some discussions about different things that cause the > application > > to restart and then lose its sessions. But this only occurs when
using > InProc > > as session handling.... > > > > Any ideas would be appreciated! > > >
It looks like the state server is stopping intermittently - or something may
be killing the process. So you will need to add some counters to find out
why. Some good ones are TCP/IP connections and memory.
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------
"Alvin Bruney - ASP.NET MVP" <www.lulu.com/owc> wrote in message
news:ub**************@TK2MSFTNGP09.phx.gbl... I'll take a look at this in the next 1/2 hour or so.
-- Regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ www.lulu.com/owc Forth-coming VSTO.NET - Wrox/Wiley 2006 ------------------------------------------------------- "AndersBj" <An******@discussions.microsoft.com> wrote in message news:D3**********************************@microsof t.com... I did some Googling, but nothing much came up. I also checked the time
for these events with the time when the problems have occured and they don't seem to match. So I'm guessing that there is someting else that is causing this... Any other ideas would be greatly appreciated.
/Anders "Alvin Bruney - ASP.NET MVP" wrote:
hmm, i've never seen this before. Obviously something is amiss. have
you tried googling for it. I did find a couple links but these were for
sql server with known issues. It's probably an issue as well.
-- Regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ www.lulu.com/owc Forth-coming VSTO.NET - Wrox/Wiley 2006 ------------------------------------------------------- "AndersBj" <An******@discussions.microsoft.com> wrote in message news:97**********************************@microsof t.com... > Hi, thanks for your reply. > > The only thing I can find in the event log that looks a bit strange
is the > following: > > "State server stops listening" > > Followed by by this shortly after: > > "State server starts listening with 6 listeners" > > > What does these events mean? Is there any other logs I can check? > > Thanks in advance, > > /Anders > > > "Alvin Bruney - ASP.NET MVP" wrote: > > > check your server logs, see if the state server application has
been > > recycled for any reason > > > > -- > > Regards, > > Alvin Bruney [MVP ASP.NET] > > > > [Shameless Author plug] > > The Microsoft Office Web Components Black Book with .NET > > Now Available @ www.lulu.com/owc > > Forth-coming VSTO.NET - Wrox/Wiley 2006 > > ------------------------------------------------------- > > > > > > > > "AndersBj" <An******@discussions.microsoft.com> wrote in message > > news:D2**********************************@microsof t.com... > > > Hi all, > > > I have a web application that uses State Server for session
handling. The > > > web application randomly loses all session variables. > > > > > > The sessions are not always lost, sometimes I can use the application for > > a > > > day or so, and sometimes the sessions are lost every 5 minutes. > > > > > > I've read some discussions about different things that cause the > > application > > > to restart and then lose its sessions. But this only occurs when using > > InProc > > > as session handling.... > > > > > > Any ideas would be appreciated! > > > > > >
Thanks for your tips.
I have done some more testing and I have realized that the problem only
occurs when the main window opens a new window. The session variables are
lost in the new window but are still valid in the main window. This should
indicate that there is no problem with the state server as I first thought.
I'm guessing that the problem is connected with the client some how. It
seems to treat the new window as a completely different IE session. The
strange thing is that this only happens occasionally....
I'm completely lost on this one... :-(
Regards,
Anders
"Alvin Bruney - ASP.NET MVP" wrote: It looks like the state server is stopping intermittently - or something may be killing the process. So you will need to add some counters to find out why. Some good ones are TCP/IP connections and memory.
-- Regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ www.lulu.com/owc Forth-coming VSTO.NET - Wrox/Wiley 2006 ------------------------------------------------------- "Alvin Bruney - ASP.NET MVP" <www.lulu.com/owc> wrote in message news:ub**************@TK2MSFTNGP09.phx.gbl... I'll take a look at this in the next 1/2 hour or so.
-- Regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ www.lulu.com/owc Forth-coming VSTO.NET - Wrox/Wiley 2006 ------------------------------------------------------- "AndersBj" <An******@discussions.microsoft.com> wrote in message news:D3**********************************@microsof t.com... I did some Googling, but nothing much came up. I also checked the time for these events with the time when the problems have occured and they don't seem to match. So I'm guessing that there is someting else that is causing this... Any other ideas would be greatly appreciated.
/Anders "Alvin Bruney - ASP.NET MVP" wrote:
> hmm, i've never seen this before. Obviously something is amiss. have you > tried googling for it. I did find a couple links but these were for sql > server with known issues. It's probably an issue as well. > > -- > Regards, > Alvin Bruney [MVP ASP.NET] > > [Shameless Author plug] > The Microsoft Office Web Components Black Book with .NET > Now Available @ www.lulu.com/owc > Forth-coming VSTO.NET - Wrox/Wiley 2006 > ------------------------------------------------------- > > > > "AndersBj" <An******@discussions.microsoft.com> wrote in message > news:97**********************************@microsof t.com... > > Hi, thanks for your reply. > > > > The only thing I can find in the event log that looks a bit strange is the > > following: > > > > "State server stops listening" > > > > Followed by by this shortly after: > > > > "State server starts listening with 6 listeners" > > > > > > What does these events mean? Is there any other logs I can check? > > > > Thanks in advance, > > > > /Anders > > > > > > "Alvin Bruney - ASP.NET MVP" wrote: > > > > > check your server logs, see if the state server application has been > > > recycled for any reason > > > > > > -- > > > Regards, > > > Alvin Bruney [MVP ASP.NET] > > > > > > [Shameless Author plug] > > > The Microsoft Office Web Components Black Book with .NET > > > Now Available @ www.lulu.com/owc > > > Forth-coming VSTO.NET - Wrox/Wiley 2006 > > > ------------------------------------------------------- > > > > > > > > > > > > "AndersBj" <An******@discussions.microsoft.com> wrote in message > > > news:D2**********************************@microsof t.com... > > > > Hi all, > > > > I have a web application that uses State Server for session
handling. > The > > > > web application randomly loses all session variables. > > > > > > > > The sessions are not always lost, sometimes I can use the application > for > > > a > > > > day or so, and sometimes the sessions are lost every 5 minutes. > > > > > > > > I've read some discussions about different things that cause the > > > application > > > > to restart and then lose its sessions. But this only occurs when using > > > InProc > > > > as session handling.... > > > > > > > > Any ideas would be appreciated! > > > > > > > > > > > >
AndersBj wrote: Thanks for your tips.
I have done some more testing and I have realized that the problem only occurs when the main window opens a new window. The session variables are lost in the new window but are still valid in the main window. This should indicate that there is no problem with the state server as I first thought.
I'm guessing that the problem is connected with the client some how. It seems to treat the new window as a completely different IE session. The strange thing is that this only happens occasionally....
I've seen this happen. It's been a long time and I'm trying to remember,
but I believe that in my case, the behavior would change based upon whether
an IE window was open already when the Web site was first launched. In
other words, close all IE windows and then open a new one and browse to
Microsoft.com. After you do that, open another window and browse to your
app. Try to repro the Session loss.
After you do that, try the same except make sure no other IE windows are
open when you first browse to your app. The behavior should be different.
It's an issue with IE. You can actually use Spy++ and see that the windows
are owned by separate instances of IE.
--
Jim Cheshire
JIMCO Software http://www.jimcosoftware.com
FrontPage add-ins for FrontPage 2000 - 2003
that's some important info right there!
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------
"JIMCO Software" <co*******@jimcosoftware.com> wrote in message
news:Oc**************@TK2MSFTNGP10.phx.gbl... AndersBj wrote: Thanks for your tips.
I have done some more testing and I have realized that the problem only occurs when the main window opens a new window. The session variables are lost in the new window but are still valid in the main window. This should indicate that there is no problem with the state server as I first thought.
I'm guessing that the problem is connected with the client some how. It seems to treat the new window as a completely different IE session. The strange thing is that this only happens occasionally....
I've seen this happen. It's been a long time and I'm trying to remember, but I believe that in my case, the behavior would change based upon
whether an IE window was open already when the Web site was first launched. In other words, close all IE windows and then open a new one and browse to Microsoft.com. After you do that, open another window and browse to your app. Try to repro the Session loss.
After you do that, try the same except make sure no other IE windows are open when you first browse to your app. The behavior should be different.
It's an issue with IE. You can actually use Spy++ and see that the
windows are owned by separate instances of IE.
-- Jim Cheshire JIMCO Software http://www.jimcosoftware.com
FrontPage add-ins for FrontPage 2000 - 2003 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Michael J. Wendell |
last post by:
Hello,
I am trying to debug an issue with sessions in my ASP 3.0 web
application, which runs fine on WIN2K Pro and WINXP Pro, yet fails to
function correctly on WIN2K Advanced Server.
My actual...
|
by: CJ |
last post by:
Hi
We have Session Data lost randomly and Session State expired early.
Our Intranet Application uses Window Server 2003 and .Net Framework 1.1. We
set Session Time out to 60 minutes. but user...
|
by: DeeAnn |
last post by:
We've encountered a "flaky" situation with a Session variable holding
a data set on load balanced servers; server session with cookies is
set up.
Background:
Session variable holds a dataset.
...
|
by: Daniel Walzenbach |
last post by:
Hi,
I have a web application which sometimes throws an “out of memory”
exception. To get an idea what happens I traced some values using performance
monitor and got the following values (for...
|
by: Mark Rae |
last post by:
Hi,
I'm presently converting a v1.1 ASP.NET app to v2, and am encountering a
strange problem.
When running in Debug mode (i.e. hitting F5), all is well.
However, when running without...
|
by: Evan Nelson |
last post by:
We are running our website on 3 W2K servers using classic ASP and IIS 5.0.
Because the servers are load balanced we don't use the ASP Session object
instead we store session type information to the...
|
by: AlonR |
last post by:
Hi,
We're experiencing random user sessions losses on our web applications,
and are researching for any useful information which may shed light on
this problem.
Environment:
In our...
|
by: joeriggs |
last post by:
Having trouble with an application which is using SQL Server 2000 to store session state. The App is ASP.NET 2.0 on Win2003.
Occasionally all sessions are lost at once, causing the app to break....
|
by: Jon Slaughter |
last post by:
Any pitfalls or stuff I need to worry about when working with sessions? I
want to write a log file and hit counter along with a login interface and
I'm trying to learn this stuff.
...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shllpp 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |