Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Can we update MVC application without killing active sessions.

Posted on 2013-10-23
1
Medium Priority
?
284 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 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

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

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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

661 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