I would like to edit the global asa file so as to write and read the number of hits to my web site to a MS2000 database. I&#039ve been able to create the database read from within the Application OnStart subroutine in the asa file. My problem lies in editing the Application OnEnd subroutine to update the database with the last number of page hits before the application/server finishes. What seems to be happening is that the "number of hits" variable in the Application OnStart sub is being carried over into the Application OnEnd Sub resulting in the same number of hits value being rewritten to the database. Anybody aware of any discussions/papers on declaring application variables within the the global asa file?<BR><BR>Any thoughts/ideas appreciated.<BR><BR>Brian Killen.