Can anyone tell me how to make an hit counter for my asp sit

This is a discussion on "Can anyone tell me how to make an hit counter for my asp sit" within the Classic ASP section. This forum, and the thread "Can anyone tell me how to make an hit counter for my asp sit are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Aug 6th, 2004, 19:51
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Can anyone tell me how to make an hit counter for my asp sit

Can anyone tell me how to make an hit counter for my asp site?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Aug 6th, 2004, 21:22
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
hit counter's can be done in so many ways... There's actually a script that will do this for you... If ya want to use a database and you know how to connect to them... (see my other posts) then all you really need to do is something like this...
Code: Select all
dim l
//connecting code//

l = recordSet("Count")

Do while NOT recordset.EOF
l = l+1
Response.Write("l")
recordset.Update
//closing codes//
something like that will take care of your needs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Aug 7th, 2004, 10:28
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,188
Blog Entries: 7
Thanks: 27
Thanked 23 Times in 20 Posts
you could always write it to a text file also.....
you could even store it as an application variable, but remember that it will need to be written to a text file when application_onend fires.... and re-read into application variable when applicatio_onstart fires.

I'll dig around for some code if you need it.
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Aug 7th, 2004, 17:53
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Thx. Now I need to know how to put music on my site can anyone help?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Aug 7th, 2004, 23:32
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
You can do it many many many ways... Flash? ASP? HTML? or what are you looking for more specifically.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Aug 8th, 2004, 00:46
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Flash is probably the best way to put music onto your site.

Some browsers will play an MP3 straight away, but some won't.

Flash is installed on pretty much all computers and not only does it support MP3, but it allows you to start/stop and control the volume, etc.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old Aug 8th, 2004, 04:05
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
And you can even mess around with people's speakers and do all kinds of cool effects in flash .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old Aug 9th, 2004, 08:30
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
ok dude, the title of this threasd is "asp scripts" and its actually about hit counters, oh no, hang on, now its about music!! pfffff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old Aug 9th, 2004, 09:28
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, Amari, when you need something new can you start a new thread please :wink:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old Aug 9th, 2004, 16:52
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
ok
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
tell, hit, counter, asp, sit

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Age Counter acrikey JavaScript Forum 4 Jun 2nd, 2008 12:37
Counter confused Website Planning 6 May 21st, 2007 03:27
hit counter? skyfire400 Web Page Design 6 Mar 7th, 2006 14:00
A PHP web counter? k3nshin PHP Forum 19 Feb 19th, 2004 22:35
print "$counter times 2 is ".($counter*2)."<br>" gwx03 PHP Forum 6 Dec 10th, 2003 10:50


All times are GMT. The time now is 15:48.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42