Re: Out-of-process State Management Session Cleanup



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



.



Relevant Pages

  • Re: Out-of-process State Management Session Cleanup
    ... situation that is giving us a hard time. ... We have data being stored in the session that must be transmitted ... being cleared by the SQL Server? ... large amount of code that must be executed to clean the session and to ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Out-of-process State Management Session Cleanup
    ... SQL Server. ... large amount of code that must be executed to clean the session and to ... of the SQL Server to keep track of said timeout and execute some clean ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Out-of-process State Management Session Cleanup
    ... that the the session cleanup and ran whatever other code you want. ... large amount of code that must be executed to clean the session and to ... of the SQL Server to keep track of said timeout and execute some clean ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Best way to populate webpages from multiple tables
    ... tables within hash tables, custom classes etc. ... > Set a session expiring cookie at the client that stores the Customer ID. ... > send it to the client, instead store it in your session mgmt sql server - ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Best way to populate webpages from multiple tables
    ... tables within hash tables, custom classes etc. ... > Set a session expiring cookie at the client that stores the Customer ID. ... > send it to the client, instead store it in your session mgmt sql server - ...
    (microsoft.public.dotnet.framework.adonet)