473,797 Members | 3,212 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Updating application without affecting logged in users

When we want to make updates to our application, we have to make sure all
users are logged out, or they will get kicked out when we copy a new DLL.

Our web application, using the 1.1 framework, we are not allowed to use
VS2003 to copy changes up to the application. Reason we are told this is
because it is in our DMZ and cannot be reached by computers in other domains.
Also, we were told that we are not allowed to copy front page extensions to
it to do copying from VS2003 anyway. (Not sure if I explained this verbatim,
but hopefully it is understandable and correct.)

Not sure if we are being told something that is not true, but the question I
have is...assuming the above paragraph is correct, we are using two virtual
folders for our application App1 & App2. When we need to make changes, we
redirect users to App2 and then wait for App1's users to finish, while all
new users will go to App2. Then we update App1 and then redirect back to
App1. Is this the next best thing to being able to update our application
since we cannot make changes without affecting logged in users? Thanks in
advance for any help.

Feb 7 '07 #1
3 1331
Wannabe,
When you physically copy new assemblies, web.config or pages to your running
application, the original continues to run until all current requests have
completed.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Wannabe" wrote:
When we want to make updates to our application, we have to make sure all
users are logged out, or they will get kicked out when we copy a new DLL.

Our web application, using the 1.1 framework, we are not allowed to use
VS2003 to copy changes up to the application. Reason we are told this is
because it is in our DMZ and cannot be reached by computers in other domains.
Also, we were told that we are not allowed to copy front page extensions to
it to do copying from VS2003 anyway. (Not sure if I explained this verbatim,
but hopefully it is understandable and correct.)

Not sure if we are being told something that is not true, but the question I
have is...assuming the above paragraph is correct, we are using two virtual
folders for our application App1 & App2. When we need to make changes, we
redirect users to App2 and then wait for App1's users to finish, while all
new users will go to App2. Then we update App1 and then redirect back to
App1. Is this the next best thing to being able to update our application
since we cannot make changes without affecting logged in users? Thanks in
advance for any help.
Feb 7 '07 #2
Thanks for the reply, but that is not what we are seeing. When we manually
copy a new assembly, any users currently in the system will have their
session information cleared and be forced to re-login. Is there some setting
in IIS or something we are missing?

"Peter Bromberg [C# MVP]" wrote:
Wannabe,
When you physically copy new assemblies, web.config or pages to your running
application, the original continues to run until all current requests have
completed.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Wannabe" wrote:
When we want to make updates to our application, we have to make sure all
users are logged out, or they will get kicked out when we copy a new DLL.

Our web application, using the 1.1 framework, we are not allowed to use
VS2003 to copy changes up to the application. Reason we are told this is
because it is in our DMZ and cannot be reached by computers in other domains.
Also, we were told that we are not allowed to copy front page extensions to
it to do copying from VS2003 anyway. (Not sure if I explained this verbatim,
but hopefully it is understandable and correct.)

Not sure if we are being told something that is not true, but the question I
have is...assuming the above paragraph is correct, we are using two virtual
folders for our application App1 & App2. When we need to make changes, we
redirect users to App2 and then wait for App1's users to finish, while all
new users will go to App2. Then we update App1 and then redirect back to
App1. Is this the next best thing to being able to update our application
since we cannot make changes without affecting logged in users? Thanks in
advance for any help.
Feb 7 '07 #3
That's correct. I said, "until all current requests have completed". When a
new request comes in, it goes to the "new" version, which of course has no
Session state for that user (yet). If you need Session to persist across app
restarts, you could look into using State Server or SQL server Session state,
depending on how important this is to you.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Wannabe" wrote:
Thanks for the reply, but that is not what we are seeing. When we manually
copy a new assembly, any users currently in the system will have their
session information cleared and be forced to re-login. Is there some setting
in IIS or something we are missing?

"Peter Bromberg [C# MVP]" wrote:
Wannabe,
When you physically copy new assemblies, web.config or pages to your running
application, the original continues to run until all current requests have
completed.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Wannabe" wrote:
When we want to make updates to our application, we have to make sure all
users are logged out, or they will get kicked out when we copy a new DLL.
>
Our web application, using the 1.1 framework, we are not allowed to use
VS2003 to copy changes up to the application. Reason we are told this is
because it is in our DMZ and cannot be reached by computers in other domains.
Also, we were told that we are not allowed to copy front page extensions to
it to do copying from VS2003 anyway. (Not sure if I explained this verbatim,
but hopefully it is understandable and correct.)
>
Not sure if we are being told something that is not true, but the question I
have is...assuming the above paragraph is correct, we are using two virtual
folders for our application App1 & App2. When we need to make changes, we
redirect users to App2 and then wait for App1's users to finish, while all
new users will go to App2. Then we update App1 and then redirect back to
App1. Is this the next best thing to being able to update our application
since we cannot make changes without affecting logged in users? Thanks in
advance for any help.
>
Feb 7 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
16231
by: Jason | last post by:
Let's say I have an html form with 20 or 30 fields in it. The form submits the fields via POST to a php page which updates a table in a database with the $_POST vars. Which makes more sense? 1) simply UPDATING the values for all fields in the table, whether or not any particular field has actually changed 2) running a second SELECT statement and comparing the $_POST vars to the returned values, and only UPDATING those that have...
2
3940
by: Fran Tirimo | last post by:
I am developing a small website using ASP scripts to format data retrieved from an Access database. It will run on a Windows 2003 server supporting FrontPage extensions 2002 hosted by the company 1&1 with only limited server configuration via a web based control panel. My query relates to the ASP security model and how it relates to FrontPage options for setting file access on a database file. If you know of any online documentation...
2
3122
by: Keith Jakobs, MCP | last post by:
Greetings: I had seen several posts around the Internet about this issue from a few months back, but have been unable to find a resolution ... I have a user who is trying to get started with Visual Studio.NET 2003. We have uninstalled and reinstalled the Product.... then we did a complete cleanout of development products, re-installed IIS, and reinstalled JUST Visual Studio.NET 2003 with Framework 1.1 (no more 2002 edition or...
7
10335
by: Lalit | last post by:
Hi Friends, I have developed a Windows service. Now i need icon for this service in systray and context menu fo this icon. Can i do this? With regards, Lalit
1
1747
by: Prem | last post by:
Hi All I have a portal application that we have built that contains links to different modules. There is no static binding to these dlls from the application so that we can deploy some modules to some users and some modules to other users. This allows us to have a centralized application that contains all modules...but with the ability to have security for different groups of users. My question, is it possible to update just a one dll...
1
2058
by: Bar?? | last post by:
Hi, I want to show number of active users (login users) on my web page. Creating the number of activate users is easy. I increased an application variable (Application("numOfUsers")) by one when a user is logged in. But a problem comes up when decreasing this application variable. I made this decramention in session_end but for a long time there is no change on the value of application variable. I think this problem is caused by session...
2
1468
by: Mesut KoÅŸucu | last post by:
hi all i get a error when update user attributes the error is "General access denied error " the code is Dim strAttrName As String = Me.TextBox1.Text Dim strAttrValue As String = Me.TextBox2.Text Dim objADObject As New
4
1992
by: rdemyan via AccessMonster.com | last post by:
My application is calculation intensive and the servers are agonizingly slow. Administrators of my application only update the backends once a month (twice a month max). So, my launching program allows the back-end file to be downloaded to the user's PC. This will provide maximum speed for these calculations/manipulations of data. Without this, just logging into the main app connected to the server back-end file can take five minutes...
9
6283
by: Gordon | last post by:
I want to add a feature to a project I'm working on where i have multiple users set up on my Postgres database with varying levels of access. At the bare minimum there will be a login user who only has read access to the users table so that users can log in. Once a user has been logged in successfully I want to escalate that user's access level to one appropriate to their role, which will include switching the postgres user they are...
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9537
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10246
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10209
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10023
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9066
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3750
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2934
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.