Session lost when deploy new components

  • Thread starter Thread starter Bill L
  • Start date Start date
B

Bill L

Hi guys,

Got problem with session when I install new DLL file or replace DLL file in
/bin folder, is there anyway I can stop this happened ? I don't run two
version of side by side and seems the application has to restart if there is
new DLL installed by MS document. I am not sure I understand the doc right
or not. thanks

Bill
 
Hi,

this is by design. Changing dlls in bin folder will restart the AppDomain
and therefore reset InProc sessions, Cache and so forth. To prevent this,
you would need to use out of process session modes like StateServer
(external process) or SQLServer (session state is stored to database).
 
Teemu,

thanks for your help, I am not quite sure about Using out of process session
modes like StateServer ? how ? is there any sample/article/document show
this ? I am using Oracle now and I don't think it's good to store session in
DB because too much IO will make application become slow.

Regards

Bill
 
Back
Top