![]() |
|
|
Getting the number of Active Users on your Website with ASPThis is a neat little script that will tell you how many active users you have on your site. It can be somewhat disheartening if you don't get any though! What is required is somewhere to store the number of people which will be a variable i.e. amount of people on your site will vary. You will need to create a separate file in which to store this variable. For this purpose we use the global.asa. I am not going to go into too much detail about this file other than to tell you to cut and paste the code below into the file called global.asa <script language="vbscript" runat="server"> The above is your global.asa file, below the code that you should cut and paste into another file. You can call the file whatever you like, though I'll call it 'active_users.asp' <html> Upload both files on to the net making sure that the 'global.asa' is in the root directory. Run the file 'active_users.asp' and you'll discover how many active users you have.
Site developed by Michael Wall - Web Design Belfast N.Ireland. |
|