Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 78213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:57:07+00:00 2026-05-10T20:57:07+00:00

Everytime I upload a file to my ASP.NET site, all users are logged out

  • 0

Everytime I upload a file to my ASP.NET site, all users are logged out (aka, I guess their session become invalidated).

Is there any way to ‘hotswap’ the code in ASP.NET so that this doesn’t happen? Compile before deploying etc.

My deployment method is pretty simple through a SVN update.

Thanks! /Niels

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T20:57:08+00:00Added an answer on May 10, 2026 at 8:57 pm

    You could store your session in a SQL database, thus the application restart would not lose your sessions.

    Having precompiled non updatable code to deploy would make your xcopy faster alright but app pool would still be restarted.

    UPDATE: @configurator, making your comment visible to any casual observers http://support.microsoft.com/kb/317604

    (there is plenty of coverage of the different options and how-tos out there, e.g. more than one session db, different frameworks dbs in same db, etc)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

MVC3 VB.NET Application. I have multiple file upload boxes on a form in my
I'm new to ASP MVC and I've been trying to upload a bitmap file
When a user upload a file(users can upload multiple files) exec('nohup php /main/apache2/work/upload/run.php &');
Everytime I layout all my controls in a UIView, and then forget they need
Everytime I use MySQL's CREATE TABLE AS SELECT ... all the tables/indexes being selected
.NET/MVC3 newbie, so please bear with me! I've searched for this answer all over
Imagine this simple form for uploading a file: <form action=upload enctype=multipart/form-data> <input type=text name=name/>
I would like to know how to upload a WAR file separated from its
Im working on a site that will enable me to upload files to the
I've got a powershell script that monitors a log file, filters out the interesting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.