ASP.NET

Moderators: None (Apply to moderate this forum)
Number of threads: 1737
Number of posts: 3308

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
I am having difficulties saving my Application("counter") as it is.... Posted by Miki800 on 7 Jul 2003 at 11:05 PM
This message was edited by Miki800 at 2003-7-7 23:6:32

I made that Application in a file called GLOBAL.asa
I guess that it suppose to be saved in the memory of my server
but lately it just dont!
each time I exit the server the Application restart itself
could someone tell my a few of the possible Errors for that to happen?

thanx
Miki800!


*EDIT*
I also not so sure about where should I put that post
Report
Re: I am having difficulties saving my Application("counter") as it is Posted by raymcd on 8 Jul 2003 at 6:04 AM
: This message was edited by Miki800 at 2003-7-7 23:6:32

: I made that Application in a file called GLOBAL.asa
: I guess that it suppose to be saved in the memory of my server
: but lately it just dont!
: each time I exit the server the Application restart itself
: could someone tell my a few of the possible Errors for that to happen?
:
: thanx
: Miki800!
:
:
: *EDIT*
: I also not so sure about where should I put that post
:
The application object gets destroyed when the session count falls to zero. There is no way to stop it. If you need to maintain persistent information across application restarts, you need to use persistent storage (xml file, database table, etc.)

-Ray



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.