Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Cassini automatically loads a web-page
Guest
#1 Posted : Friday, May 18, 2007 11:50:46 AM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

System:
Windows XP Professional, SP2
UltiDev Cassini Web Server for ASP.NET 2.0
Visual Web Developer/C# (2005 Express Version)

I am using UltiDev Cassini with my ASP.NET code. It works very well.
However, I discovered that the first Web page's Page_Load function is executed every 5 minutes even though
the Web Developer is not running, nor is the Cassini Web page opened.

I do not see the Web page opening up, but I know that something is invoking the Web page because the Page_Load function writes a file.
When I stop the Cassini Web Server using Window Services, the file writing stops.

Something is invoking Cassini to load the Web page!
I wish the web page to be available all the time, thus I have to set Cassini on! But I cannot have it writing files forever!

Please help. Thanks.
Patrick Tai.
Ultidev Team
#2 Posted : Friday, May 18, 2007 1:05:04 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Patrick,

Every application registered with UltiDev Cassini has the "Always keep application in memory" flag a.k.a. "keep running" flag, which when is on ensures that your application will not be unloaded from the memory even when it idles for a while, which improves "first page served" time of the application. To do that Cassini calls the default page of the application every few minutes. You can easily switch this flag off either from Cassini Explorer UI, or programmatically when you register your application with Cassini during installation. Once you clear the flag, the problem will go away.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (5)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.