473,387 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Session lost when deploy new components

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
Nov 18 '05 #1
2 1293
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 Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Bill L" <du**@chinesecafe.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
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

Nov 18 '05 #2
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
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:OG**************@TK2MSFTNGP10.phx.gbl...
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 Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Bill L" <du**@chinesecafe.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
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


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Vetrivel | last post by:
Application architecture : Develop interface between two existing systems, a. Enterprise CRM system b. Web based intranet system. Environment : Intranet Server : IIS and ASP. Script :...
7
by: Billy Jacobs | last post by:
I am having a problem with my session variable being set to Null for no apparent reason. I am declaring it like the following when the user logs in. dim objUserInfo as new clsUserInfo 'Set...
6
by: Tony G. | last post by:
Hi there, I have an APS 3 application, running on a Windows 2003 Web edition server - it is a very busy website, and when users are click on certain links (membership info), a new window i...
2
by: Slugsie | last post by:
I am writing a .Net web application that needs to save some state information across web pages. I'm using Session.Item("<item name>") = <item state> calls in my VB code so save the session...
1
by: yoshibebe | last post by:
Hi, I have developed a project on my local machine. The session state variables are working fine on my local machine. When I port it into a another server called v-projects, and I try to run the...
7
by: Erik | last post by:
I have an application that uses sessions variables a lot but one I publish the application on the prod server these variables are lost. The application is written i c# 2.0 and I've set the...
43
by: davidkoree | last post by:
I mean not about cookie. Does it have something to do with operating system or browser plugin? I appreciate any help.
6
by: Marcus | last post by:
I have an ASP.Net 2.0 app that needs to jump out onto another web server running a java server page website (Apache TomCat 4.1.12) that I control. I hate that it needs to do this, but we are using...
3
by: SevDer | last post by:
Hi All, I am recently experiencing a weird problem. I don't know what exactly is the cause of the problem but here is my scenario and symptoms. First of all here is my architecture 1. I have...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.