Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Potential bug: ASP.NET session variables and file watcher service

Reply
Thread Tools

Potential bug: ASP.NET session variables and file watcher service

 
 
=?Utf-8?B?QXZp?=
Guest
Posts: n/a
 
      05-21-2007
Hi

I have an interesting issue, I hope someone can shead light on:

I have a 2 server "web farm" with a web app that produces image files. To
ensure synchronization of content on both machines, we have built a vb.net
(2.0) file watcher service to keep the web folders synchronized between the 2
machines. the app uses in-proc session variables for some other stuff.

We have run into a strange problem: when the file watcher service is
running, the session variables seem to die and we lose the "context" we have
created for the user when they login. We have ensured that the file wather
works on directories that do NOT contain code files (aspx). However, the
directories are virtual directories on the respective sites. The session
variables are holding a hashtable of complex types (db connections, command
objects etc).

The file watcher (FW) app seems to work just fine. If we turn the FW off,
the session variables do not die!@#!@#!!

I know this isn't an enormous amount of detail, but is there anything that
we should be aware of here? what would help to illuminate the problem? The
code for each is way to big to post.

Some background: using .NET 2.0, vb for both apps. Windows 2003 std Server
(sp1) and IIs 6.0.

thx
Avi
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
Guest
Posts: n/a
 
      05-21-2007
Howdy,


AppDomain restarts:
http://objectsharp.com/cs/blogs/bruc...11/01/992.aspx

The session
> variables are holding a hashtable of complex types (db connections, command
> objects etc).


OMG!

Hope this helps
--
Milosz


"Avi" wrote:

> Hi
>
> I have an interesting issue, I hope someone can shead light on:
>
> I have a 2 server "web farm" with a web app that produces image files. To
> ensure synchronization of content on both machines, we have built a vb.net
> (2.0) file watcher service to keep the web folders synchronized between the 2
> machines. the app uses in-proc session variables for some other stuff.
>
> We have run into a strange problem: when the file watcher service is
> running, the session variables seem to die and we lose the "context" we have
> created for the user when they login. We have ensured that the file wather
> works on directories that do NOT contain code files (aspx). However, the
> directories are virtual directories on the respective sites. The session
> variables are holding a hashtable of complex types (db connections, command
> objects etc).
>
> The file watcher (FW) app seems to work just fine. If we turn the FW off,
> the session variables do not die!@#!@#!!
>
> I know this isn't an enormous amount of detail, but is there anything that
> we should be aware of here? what would help to illuminate the problem? The
> code for each is way to big to post.
>
> Some background: using .NET 2.0, vb for both apps. Windows 2003 std Server
> (sp1) and IIs 6.0.
>
> thx
> Avi

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple File Watcher smartnhandsome Java 3 10-17-2007 08:17 PM
Question on File System Watcher stephen ASP .Net 0 05-31-2006 07:43 PM
File System Watcher Changed/Renamed event Stephen ASP .Net 1 01-13-2006 10:54 PM
Cannot make head or tail of dial watcher is there anothe option to restrict hours Cisco 801 Sean Rima Cisco 3 06-24-2005 05:59 PM
DVD Verdict reviews: A TOUCH OF GREATNESS, THE WATCHER IN THE WOODS (DISNEY RELEASE), and more! DVD Verdict DVD Video 0 06-03-2005 08:11 AM



Advertisments