|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Static Variables VanishI have an asp.net application that uses a dll that has Shared/Static
members. I thought that the values in the Shared/Static members should only recycle if the application was restarted. but it seems that it is being recycled after the session count falls to zero. Does this sound right? Can I make the Shared/Static members persist past zero sessions? After a certain period of inactivity, the application shuts down, and
restarts when it receives another request. <moonli***@gmail.com> wrote in message Show quoteHide quote news:1155311768.990990.154540@75g2000cwc.googlegroups.com... >I have an asp.net application that uses a dll that has Shared/Static > members. > > I thought that the values in the Shared/Static members should only > recycle if the application was restarted. but it seems that it is being > recycled after the session count falls to zero. > > Does this sound right? Can I make the Shared/Static members persist > past zero sessions? > moonli***@gmail.com wrote:
>I have an asp.net application that uses a dll that has Shared/Static You can store the values in a text file, so the application can always >members. > >I thought that the values in the Shared/Static members should only >recycle if the application was restarted. but it seems that it is being >recycled after the session count falls to zero. > >Does this sound right? Can I make the Shared/Static members persist >past zero sessions? > > > see them. Any time the reference to that dll goes away, so do the variables. T
Can I make my program more efficient ?
Can anyone help in shortening this loop??? Event handlers tcpListener.AcceptSocket strange behavior DataGridView Column Alignment Trouble with pixels Quesion about ADO.NET in VB.NET Tip of The Day Binding an Image to a picturebox Problem with CustomTyped casting and type checking |
|||||||||||||||||||||||