Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Can we update MVC application without killing active sessions.

Posted on 2013-10-23
1
Medium Priority
?
285 Views
Last Modified: 2013-11-21
Hi,

It may be silly question :-)

I have a MVC web application which is live...and at times we have to make changes which are important and needs to be updated on live site imminently, but when we replace the code it resets all active user sessions and kicks them to login page.

Some of the users may be in the middle of data entry and would loose all their data entered.

I would like to know if there is a way that we upload the needed files and it would not kill the sessions.

Thanks,
0
Comment
Question by:ziorinfo
1 Comment
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 900 total points
ID: 39596278
If you replace web.config, IIS will restart the app domain, which will dump the sessions. If you update the DLLs, you may encounter file-locking issues if any users are currently using the app. You can update the views (i.e. the .cshtml files) without causing sessions to be dumped.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question