473,395 Members | 1,756 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How many is a linke clicked?

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

Apr 1 '06 #1
4 913
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

"Mohsen Vafa" <mo*********@gmail.com> wrote in message
news:11**********************@i39g2000cwa.googlegr oups.com...
How can i count the number of click on a link?
I don't want to use Response.Redirect.

Apr 1 '06 #2

"John Timney ( MVP )" <ti*****@despammed.com> wrote in message
news:uV*************@TK2MSFTNGP10.phx.gbl...
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

"Mohsen Vafa" <mo*********@gmail.com> wrote in message
news:11**********************@i39g2000cwa.googlegr oups.com...
How can i count the number of click on a link?
I don't want to use Response.Redirect.


Apr 2 '06 #3
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.
"John Timney ( MVP )" <ti*****@despammed.com> wrote in message
news:uV*************@TK2MSFTNGP10.phx.gbl...
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

"Mohsen Vafa" <mo*********@gmail.com> wrote in message
news:11**********************@i39g2000cwa.googlegr oups.com...
How can i count the number of click on a link?
I don't want to use Response.Redirect.


Apr 2 '06 #4
good point Peter.

--
Regards

John Timney
Microsoft MVP

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:e0**************@TK2MSFTNGP14.phx.gbl...
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.
"John Timney ( MVP )" <ti*****@despammed.com> wrote in message
news:uV*************@TK2MSFTNGP10.phx.gbl...
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

"Mohsen Vafa" <mo*********@gmail.com> wrote in message
news:11**********************@i39g2000cwa.googlegr oups.com...
How can i count the number of click on a link?
I don't want to use Response.Redirect.



Apr 2 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Mark | last post by:
I have a working PHP/MySQL application used for data entry. The data entry screen includes a "Save" button. The PHP code for this button looks like this: if (isset($_POST)) { if ($_POST ==...
5
by: Quinn | last post by:
When users clicked a unkown mime type link such as Zip on my website, a "Save/Open/Cancel" dialog box pops up. Is there a way to detect which button users clicked by using ASP? actually I only what...
6
by: chandramohan.mani | last post by:
I have table with 'n' number of rows. I want to highlight the row when ever i click on a particular row of the table. Can anyone please help me in this. Iam not using any Id's for the row. ...
7
by: Shaldaman | last post by:
Hi Is there a property in MS Access for the following: 1) For a Command Button on a form, is there a property that can be used to determine if it has been clicked? eg: Me!button7.Clicked - I...
7
by: Amadelle | last post by:
Hi all and thanks in advance, I am stuck! I can't figure out how to identify which button was clicked on my ASP.NET page in the PostBack event? So what I am trying to do is to is to have an if...
1
by: Ben Amada | last post by:
Hi, I'm using the built-in calendar control. One problem I'm having is that if the user clicks on the day in the calendar which is already the SelectedDate, a postback occurs, but the...
1
by: puneet.bansal | last post by:
Hi, I want to know the index of the option that a user clicks on in a multiple-select object (regardless of whether he selected or deselected it). This seems fairly simple but I can't seem to...
11
by: bill | last post by:
I dynamically create buttons and associate them with an event using AddHandler. I want all the button events to fire at one time, when the page is posted, instead of when each button is clicked....
3
by: rn5a | last post by:
Consider the following code which creates LinkButtons dynamically: For i = 1 to 5 lnkBut = New LinkButton lnkBut.ID = "lnkBut" & i lnkBut.Text = i.ToString & " " lnkBut.CommandName = i...
4
by: ncsthbell | last post by:
I have a scenario that I have several buttons on a form, let's say, button1 & button2. When button1 is clicked, it runs button1 code. When button2 is clicked, it runs button2 code and then calls...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.