How many is a linke clicked?

M

Mohsen Vafa

How can i count the number of click on a link?
I don't want to use Response.Redirect.
 
J

John Timney \( MVP \)

Clicking a link generate a GET request to the web server, so the log files
for the server contain the number of requests for any given link.
 
P

Peter Rilling

John Timney ( MVP ) said:
Clicking a link generate a GET request to the web server, so the log files
for the server contain the number of requests for any given link.

--
Regards

John Timney
Microsoft MVP
 
P

Peter Rilling

Unless the links are for external sites, for instance if his link pointed to
Microsoft.com and he wanted to know the number of time they used his site to
access that link.

You really cannot do that without a redirection (if you want to point to
external sites). Any site that requires this must use a proxy link where
the actual destination is included in the querystring and them then a
database might be updated before sending the user to the external site.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top