[Mono-list] Reload mod_mono assemblies without dropping connections

Gonzalo Paniagua Javier gonzalo at ximian.com
Fri Sep 23 01:47:20 EDT 2005


On Thu, 2005-09-22 at 14:04 +0100, Gavin Hamill wrote:
> Is this possible (I'm using 1.1.9) ?
> 
> I've seen this question asked several times, but neither on the list nor with 
> Google have I found a solution.
> 
> At present I am required to restart apache, thus losing any active browser 
> sessions - this is hardly a 'production grade' solution and there /must/ be a 
> better way..

Apart from what Joshua said, you can use out-of-process session state
(asp_state is one of the options, but you can choose your own) and also,
as I replied a few minutes ago to someone else, it would help having
static validation and encryption keys in <machineKey> in your web.config
so that viewstates already on the client side don't get invalidated.

-Gonzalo




More information about the Mono-list mailing list