Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Web.config; Dynamic Updating of

Reply
Thread Tools

Web.config; Dynamic Updating of

 
 
Matt
Guest
Posts: n/a
 
      12-02-2003
Hi,
I was wondering if anyone can tell me why dynamically
updating the web.config file causes ASP.NET worker process
to recycle and detroy all session states including
variables. Is this a known bug or is it by design. Do we
know why microsoft do not supply a method to write values
to the web.config file. Thank you to anyone who can give
me any clues to this problem.

Regards,
Matt,
 
Reply With Quote
 
 
 
 
Alek Davis
Guest
Posts: n/a
 
      12-02-2003
Matt,

Every time a Web.config file is saved, IIS will recycle the corresponding
Web site. If you think about it, this feature provides more benefit then
problem (in most cases). For example, many applications load configuration
settings from Web.config in the application OnStart event, so if you modify
the Web.config, the changes only take effect when the application is
restarted. I am not sure why Microsoft does not provide an easy interface to
modify Web.config programmatically; it would be a welcome addition.

Alek

"Matt" <> wrote in message
news:055801c3b921$0bdb3300$...
> Hi,
> I was wondering if anyone can tell me why dynamically
> updating the web.config file causes ASP.NET worker process
> to recycle and detroy all session states including
> variables. Is this a known bug or is it by design. Do we
> know why microsoft do not supply a method to write values
> to the web.config file. Thank you to anyone who can give
> me any clues to this problem.
>
> Regards,
> Matt,



 
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
Updating JTable Atomically - block data changes while updating. news.rcn.com Java 2 12-10-2007 11:49 AM
Dynamic updating of background-color within table cells Craig Taylor HTML 1 12-07-2006 08:51 PM
Dynamic Treeview : Showing Updating... while populating nodes drop ASP .Net 0 09-18-2006 03:22 PM
Dynamic page updating? Tarun Mistry ASP .Net 1 12-03-2005 02:41 PM
Dynamic updating a SqlServer db to a MY Sql DB Michael G Computer Support 0 09-10-2003 10:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57