Re: Out-of-process State Management Session Cleanup
- From: "Lit" <sql_agentman@xxxxxxxxxxx>
- Date: Tue, 11 Sep 2007 15:05:01 -0700
I found out in the past that whenever I have a long running process that
times-out etc... is to split it into smaller parts, organize it better and
Prioritize it.
execute/save the most critical first and then if and when possible is to
queue the rest to a back end process. Window service, Job, etc..
this may or may not help or be possible for what you are doing. It all
depends.
can you save the critical info then process? what happens if the current
user logs back on immediately.
How critical is the last log on session info to the new login session for
the same user.
Lit
<knyghtfyre@xxxxxxxxx> wrote in message
news:1189546752.505134.234440@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
My company is developing a rather large application with .NET 2.0. We
are expanding to a server farm and are in the process of converting
our application to use an out-of-process session state management with
SQL Server.
We have ran into a problem with the Session_onEnd event. We know it's
not supposed to fire when in an out-of-process mode, but we have a
large amount of code that must be executed to clean the session and to
log some critical data.
Are there any best practises for dealing with such a situation? What
have others done in the past that have helped them keep a session
state that times-out and cleans up afterwards? Is there a possibility
of the SQL Server to keep track of said timeout and execute some clean
up code?
I've been searching for a few days now and have not yet been able to
find any "best practises" for this type of situation, if you know of
any articles, or have any personal experience, any help is
appreciated.
Thanks,
Marc
.
- References:
- Out-of-process State Management Session Cleanup
- From: knyghtfyre
- Out-of-process State Management Session Cleanup
- Prev by Date: Visual Studio 2005 The breakpoint will not currently be hit... PLEASE HELP.
- Next by Date: Re: Visual Studio 2005 The breakpoint will not currently be hit... PLEASE HELP.
- Previous by thread: Out-of-process State Management Session Cleanup
- Next by thread: Re: Out-of-process State Management Session Cleanup
- Index(es):
Relevant Pages
|