473,569 Members | 2,472 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Please Help: File Deletes Cause Loss of Session Variables

Does anyone know why I lose all of my session variables whenever I
delete files on the server using code in my asp.net web app?

I have seen a few scattered posts about something called a
filechangenotif ication causing this.

Most important, does anyone know how to make it stop? It seems
reasonable that one might need to delete files from an asp.net
application, without losing session variables.

Mar 11 '06 #1
2 1525
I understand now that this happens so the asp.net app can restart
without stopping and starting the site in IIS.

BUT...How can I isolate folders so they don't fire the File Change
Notification? Or, how can I make IIS ignore it, if only for the
specified folder(s)?

Joey wrote:
Does anyone know why I lose all of my session variables whenever I
delete files on the server using code in my asp.net web app?

I have seen a few scattered posts about something called a
filechangenotif ication causing this.

Most important, does anyone know how to make it stop? It seems
reasonable that one might need to delete files from an asp.net
application, without losing session variables.


Mar 11 '06 #2
There is no way so far Joey, take a look :
http://weblogs.asp.net/owscott/archi...21/438678.aspx
I am looking for a solution too
r.

Joey wrote:
I understand now that this happens so the asp.net app can restart
without stopping and starting the site in IIS.

BUT...How can I isolate folders so they don't fire the File Change
Notification? Or, how can I make IIS ignore it, if only for the
specified folder(s)?

Joey wrote:
Does anyone know why I lose all of my session variables whenever I
delete files on the server using code in my asp.net web app?

I have seen a few scattered posts about something called a
filechangenotif ication causing this.

Most important, does anyone know how to make it stop? It seems
reasonable that one might need to delete files from an asp.net
application, without losing session variables.


Mar 11 '06 #3

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

Similar topics

6
1637
by: Eric Johnston | last post by:
I want the visitor to enter three numbers on the page and then click a button "generate image" which will I hope cause a generated gif image to be displayed alongside on the page. This involved a php page elsewhere which does all the computing of the gif image. I can make this work successfully by using a static call like: <img...
1
1448
by: Esteban Felipe | last post by:
Hi, thanks for reading. I hope to find some help here before I commit suicide because this is driving me crazy. Please excuse me if this looks like a long post, but I hope that a complete explanation help you to help me :=) ....Let's start with some background: ..- I'm building an asp.net application that requires users to upload text...
2
2583
by: Steve Remer | last post by:
OK, I think I understand session state pretty well. I've done additional research on Google over the last few days to fill in any holes. To begin with, I'm using StateServer and not InProc for SessionState mode in my web.config. In fact, that's the only mode Verio shared hosting supports. That should eliminate about 70% of the reasons...
1
3166
by: Steve Remer | last post by:
My application (relevant code snippets below) originally used Session variables in order to maintain state from page to page. After being unable to solve the mystery of why those variables were intermittently inaccessible, (all Session variables gone, not using InProc Session state mode), I moved to a cookies-based solution. Now I have cookie...
12
2264
by: D. Shane Fowlkes | last post by:
This is a repost (pasted below). Since my original post, I've double checked the system clock and set all IIS Session Timeout values to 10 minutes. Still ...the problem occurs. I've also installed Deep Metrix Live Stats 6.2 XPS just to make sure nothing really strange was going on was going on. Still....the sessions only increment...or...
13
4168
by: DH | last post by:
Hi, I'm trying to strip the html and other useless junk from a html page.. Id like to create something like an automated text editor, where it takes the keywords from a txt file and removes them from the html page (replace the words in the html page with blank space) I'm new to python and could use a little push in the right direction, any...
0
849
by: neeraj | last post by:
Hi Every body I have one problem with my asp.net application framework 2.0 When I delete the folder from server, used all session variables and static variables loss own contained value. I don't know what's wrong or what I miss in my code. Because used code working fine with asp.net framework 1.1
4
2206
by: Brad Isaacs | last post by:
I am working with ASP.NET 2.0 and using an SQL Server 2000 database. I am using Visual Studio 2005 and developing on my Local machine. I am working with Login controls ASP.Configuration, I wanted to move my work and needed to place it on the server. Using VS 2005 , went to BUILD -Publish Web Site Checked the box for :: Alow this...
2
1735
by: Orgil | last post by:
I'm using ASP 3.0 however there is ASP.NET, because I'm working an old site that is built in ASP 3.0. I hope you for getting any help for my problem from you. So, my site's sessions are empty before its timeout. I have searched and checked for long time around this problem, but I can't fix the problem yet. The session timeout is 20...
0
7703
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...
0
7618
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...
0
7926
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7679
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...
0
7983
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...
0
6287
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...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
946
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...

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.