Solved

Can we update MVC application without killing active sessions.

Posted on 2013-10-23
1
281 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 75

Accepted Solution

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…

734 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