Closed Thread Icon

Preserved Topic: How to count clicks with ASP VBS? Pages that link to <a href="https://ozoneasylum.com/backlink?for=20924" title="Pages that link to Preserved Topic: How to count clicks with ASP VBS?" rel="nofollow" >Preserved Topic: How to count clicks with ASP VBS?\

 
Author Thread
At0mic_PC
Bipolar (III) Inmate

From: Columbia MS USA
Insane since: Apr 2001

posted posted 05-31-2001 06:21

I need to be able to tell how many times a file has been downloaded and display it on the page next to the link for the file.

God bless,
Atomic

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 05-31-2001 10:01

Maybe this can help you to get started: http://www.codeave.com/asp/code.asp?u_log=138

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-31-2001 10:13

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Drakkor
Maniac (V) Inmate

From: Seatte, Warshington, USA
Insane since: Dec 2000

posted posted 05-31-2001 21:27

And lets not forget about using the Application object... it would also be less code to have an application variable.

There are two events you will have to write... Application_OnEnd to store the current count to a text or database file when there are no users (the application ends) and Application_OnStart when the application starts up again that will load that count from the database or text file. Those are written in the Global.asa files, real easy stuff.

For more info do searches at planet source code or w3schools ASP section

Cheers
-D

-It never hurts to always be right-

« BackwardsOnwards »

Show Forum Drop Down Menu