dennic
07-20-2003, 06:52 AM
i am developing a site where there is a photo gallery, when a user clicks the photo i want a counter underneath the image saying how many times the image has been accessed, how can i do this, i can use Java script cant I?
|
Click to See Complete Forum and Search --> : image access counter dennic 07-20-2003, 06:52 AM i am developing a site where there is a photo gallery, when a user clicks the photo i want a counter underneath the image saying how many times the image has been accessed, how can i do this, i can use Java script cant I? gil davis 07-20-2003, 07:43 AM You could keep track of such things on the user's computer with a cookie, but only for the number of times he has done it on that particular computer. If you want to know how many times anyone has accessed something, you would have to do it on the server side. dennic 07-21-2003, 07:08 AM i am developing the website with visual studio.NET, if i have to create this counter with server side code, does that mean i will have to change the format of the page to an aspx file and create a vb script?? gil davis 07-21-2003, 07:24 AM Yes to the .asp part, but you can use javascript or vbscript in ASP. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |