Forums
This topic is locked
Usage statistics with cookies or similar???
Posted 23 Nov 2001 11:23:23
1
has voted
23 Nov 2001 11:23:23 Jason Tandy posted:
Myself and a friend built a software package in VB6 for our local school. Each week students will have to visit our web site in order to update the software.What we want to do is write a small file, a cookie for instance, that will keep
a track on how many times the software has been used by each of the students.
Then when they visit the site we would like to grab that file and store the information in a database and generate usage statistics. We have spoken to the
school and they have no problems with this.
My question is
Is that feesible or am I a crazy fool???? If it is how would we go about it???
Thanks in advance for any Help.
BM
Replies
Replied 27 Nov 2001 21:17:08
27 Nov 2001 21:17:08 Joel Martinez replied:
it sounds feasible... you would need to have a download page to track the info to the database...
you could write a cookie with no expiry date to track the last download, and insert that data to the database.
here's what would happen in short pseudo code:
1. student clicks the download latest version link.
2. that takes them to the download page
3. download.asp inserts username and date downloaded into some log table.
4. then redirects them to the correct download.
you can then write reports on this data.
hopethat helps,
Joel Martinez [ ]
----------
E-Commerce Concepts with Ultradev...pre-order yours at
www.basic-ultradev.com/ecomm_concepts/
you could write a cookie with no expiry date to track the last download, and insert that data to the database.
here's what would happen in short pseudo code:
1. student clicks the download latest version link.
2. that takes them to the download page
3. download.asp inserts username and date downloaded into some log table.
4. then redirects them to the correct download.
you can then write reports on this data.
hopethat helps,
Joel Martinez [ ]
----------
E-Commerce Concepts with Ultradev...pre-order yours at
www.basic-ultradev.com/ecomm_concepts/