Re: Session inconsistencies IIS6
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 04/01/04
- Next message: Aries: "How to list the virtual directory with vbscript?"
- Previous message: David Wang [Msft]: "Re: IIS 6 Only listen on one IP address"
- In reply to: grw: "Session inconsistencies IIS6"
- Next in thread: grw: "Re: Session inconsistencies IIS6"
- Reply: grw: "Re: Session inconsistencies IIS6"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 1 Apr 2004 14:26:28 -0800
What Ken suggested (Is Web Garden enabled) would be my first suggestion
Basically, session state is a blob of memory that is not explicitly shared
between any worker process. Thus, session state gets lost when you move
between processes, and things that trigger this include:
1. Worker process recycling via a variety of triggers. Common ones include
idle timeout (default 15 minutes) or periodic recycling (default 29 hours)
2. Web Garden -- new connection goes to a new worker process, cycling
through the max number of worker processes in the garden
3. Something crashes the worker process.
This is best addressed by moving session state out of the worker process.
For example, ASP.Net session state service does this for ASP.Net, and Egbert
has one for ASP as well.
-- //David IIS This posting is provided "AS IS" with no warranties, and confers no rights. // "grw" <none@none.com> wrote in message news:u8vKJK8FEHA.1228@TK2MSFTNGP11.phx.gbl... Im trying to find why my hosted server won't maintain session state. Its not a web farm (not load balanced), its all the same server An application requires a session to be set and then recalled (like you do :) However, since the server software was upgraded from IIS 5 to 6, the working code no longer works. (ie - login with session variables but get logged out immediately the page changes) Using simple code like <%=session.sessionid%> on the IIS6 server, and refreshing the page shows a new ID most times - it should be the same id?? Testing on the old server (IIS5) would keep the same session id. Where do I start looking and what pertinent questions do I need to ask my host? TIA!
- Next message: Aries: "How to list the virtual directory with vbscript?"
- Previous message: David Wang [Msft]: "Re: IIS 6 Only listen on one IP address"
- In reply to: grw: "Session inconsistencies IIS6"
- Next in thread: grw: "Re: Session inconsistencies IIS6"
- Reply: grw: "Re: Session inconsistencies IIS6"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|