Forum Moderators: open
My problem is that I am looking at moving away from the index.asp to index.html, i.e. there won't be an ASP page regularly called, and therefore that can check on housekeeping times.
Is there any other way to get my site to execute a given file or routine? My site is hosted on a shared IIS 5 server.
Cheers, Robin
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.(#3001) when I try to open a recordset with the following query: SELECT Teachers.Country FROM Teachers GROUP BY Teachers.Country HAVING (((Teachers.Country) Is Not Null)) ORDER BY Teachers.Country; The identical code works perfectly when run from a normal .asp file, or as a query in MS Access. Why shouldn't it work in global.asa?
TIA, Robin
The Session_OnStart gets executed each time you get a new visitor. However, for performance reasons, you should have Sessions turned off unless you really have a good reason for using them. If you have Sessions turned off, then the Session_OnStart will never run.
Since you can't do Scheduled tasks on the server, I suggest creating one ASP page to do your periodic tasks. Then from your client machine set up a scheduled task to view the web page. The task to run would be:
start iexplore [domain.com...]
Cheers, Robin