Solved

Can we update MVC application without killing active sessions.

Posted on 2013-10-23
1
280 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 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 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