Solved

Can we update MVC application without killing active sessions.

Posted on 2013-10-23
1
278 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 74

Accepted Solution

by:
käµfm³d   👽 earned 300 total points
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now