Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run code on every hit

Status
Not open for further replies.

Romanichine

Programmer
Apr 9, 2002
30
CA
What is the best way to run a piece of code at the beginning of every hit?

Let's say I want to run the following, no matter what asp page has been called:
<% intHitCount = intHitCount + 1 %>

Obviously I don't want to include it at the beginning of every page if I got hundreds.

Thanks,
--
Roman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top