how to develop time based application
ex:this app open in evng 4pm closeing time 4am automaticalley how to develop this app
next day automatically open evng 4pm closing time 4am plz give me ans plz
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
vinay kumar56 reputationPosted Aug 28, 2012, 3:02 AM EDT
Hi Narender Good Evening
as in my view this can be achieved in two ways
Before That First u Create a page(Error Display Page) which displays "Ur Site timings"
1 case
in startup page (home)
U accesses system time and compare your requirement timings
If it is ok then u writes response.Redirct ("Ur Next Page");
In case the time limit is exceeded ok then u writes response.Redirct ("Error Display Page");
2nd case
Create a htm page with name "app_offline.htm"
There are many ways of putting your ASP.NET website offline but the fastest way is to just drop a file named app_offline.htm on the site's root.
For Any reference just see the Below Link
http://www.codeproject.com/Articles/228823/Best-way-to-put-your-ASP-net-site-offline
Regards
P.Vinay Kumar