Hi
I have a requirement where I need to make a report for each auto dealer how many hits they got on specified date range, so for each car detail page I increment the counter and total it while doing that I store the last hit date, this gives the total hits for the dealer BUT does not facilitate date range
How do I give the user a date range so that he can check how many hits the dealer got lets say for last week OR last couple of days?
Thanks much!
Gary 7 1848
Are you not storing this in a database? That would be the ideal solution --
just implement a simple function that logs hits to a page, along with a time
stamp. It is also very flexible to report on whatever other parameters you
want to report on.
--
Manohar Kamath
Editor, .netWire www.dotnetwire.com
"Garyrek" <Ga*****@hotmail.com> wrote in message
news:OG**************@TK2MSFTNGP09.phx.gbl...
Hi
I have a requirement where I need to make a report for each auto dealer how
many hits they got on specified date range, so for each car detail page I
increment the counter and total it while doing that I store the last hit
date, this gives the total hits for the dealer BUT does not facilitate date
range
How do I give the user a date range so that he can check how many hits the
dealer got lets say for last week OR last couple of days?
Thanks much!
Gary
this? I store hits counter, firsthit and lasthit in the database having this
I could only show all the hits since creation to last hit but NOT for last
one week or couple of days....
"Manohar Kamath [MVP]" <mk*****@TAKETHISOUTkamath.com> wrote in message
news:OJ**************@tk2msftngp13.phx.gbl... Are you not storing this in a database? That would be the ideal
solution -- just implement a simple function that logs hits to a page, along with a
time stamp. It is also very flexible to report on whatever other parameters you want to report on.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"Garyrek" <Ga*****@hotmail.com> wrote in message news:OG**************@TK2MSFTNGP09.phx.gbl... Hi
I have a requirement where I need to make a report for each auto dealer
how many hits they got on specified date range, so for each car detail page I increment the counter and total it while doing that I store the last hit date, this gives the total hits for the dealer BUT does not facilitate
date range
How do I give the user a date range so that he can check how many hits the dealer got lets say for last week OR last couple of days?
Thanks much!
Gary
Then change what you're storing. The database can't magically extrapolate
data you've already compressed.
--
Aaron Bertrand
SQL Server MVP http://www.aspfaq.com/
"Garyrek" <Ga*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... this? I store hits counter, firsthit and lasthit in the database having this I could only show all the hits since creation to last hit but NOT for last one week or couple of days....
Store individual hits, with timestamp, that way you are more data that you
can report on -- weekly, hourly, or even minutely :)
Link Hit Time
---------- -----
1 1 4/1/2004 1:12:23 AM
1 2 4/1/2004 1:12:24 AM
2 3 4/1/2004 1:12:25 AM
Collecting more data can only help you.
--
Manohar Kamath
Editor, .netWire www.dotnetwire.com
"Garyrek" <Ga*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... this? I store hits counter, firsthit and lasthit in the database having
this I could only show all the hits since creation to last hit but NOT for last one week or couple of days.... "Manohar Kamath [MVP]" <mk*****@TAKETHISOUTkamath.com> wrote in message news:OJ**************@tk2msftngp13.phx.gbl... Are you not storing this in a database? That would be the ideal solution -- just implement a simple function that logs hits to a page, along with a time stamp. It is also very flexible to report on whatever other parameters
you want to report on.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"Garyrek" <Ga*****@hotmail.com> wrote in message news:OG**************@TK2MSFTNGP09.phx.gbl... Hi
I have a requirement where I need to make a report for each auto dealer how many hits they got on specified date range, so for each car detail page
I increment the counter and total it while doing that I store the last hit date, this gives the total hits for the dealer BUT does not facilitate date range
How do I give the user a date range so that he can check how many hits
the dealer got lets say for last week OR last couple of days?
Thanks much!
Gary
Hi Manohar / Aaron
I should have mentioned this earlier, this way the table gets too big
henceforth database, is there any other way like storing in a file or using
pagecounter component?
thanks
Girish
"Manohar Kamath [MVP]" <mk*****@TAKETHISOUTkamath.com> wrote in message
news:u4**************@TK2MSFTNGP10.phx.gbl... Store individual hits, with timestamp, that way you are more data that you can report on -- weekly, hourly, or even minutely :)
Link Hit Time ---------- ----- 1 1 4/1/2004 1:12:23 AM 1 2 4/1/2004 1:12:24 AM 2 3 4/1/2004 1:12:25 AM
Collecting more data can only help you.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"Garyrek" <Ga*****@hotmail.com> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl... this? I store hits counter, firsthit and lasthit in the database having this I could only show all the hits since creation to last hit but NOT for
last one week or couple of days.... "Manohar Kamath [MVP]" <mk*****@TAKETHISOUTkamath.com> wrote in message news:OJ**************@tk2msftngp13.phx.gbl... Are you not storing this in a database? That would be the ideal solution -- just implement a simple function that logs hits to a page, along with
a time stamp. It is also very flexible to report on whatever other parameters you want to report on.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"Garyrek" <Ga*****@hotmail.com> wrote in message news:OG**************@TK2MSFTNGP09.phx.gbl... Hi
I have a requirement where I need to make a report for each auto
dealer how many hits they got on specified date range, so for each car detail
page I increment the counter and total it while doing that I store the last
hit date, this gives the total hits for the dealer BUT does not facilitate date range
How do I give the user a date range so that he can check how many hits
the dealer got lets say for last week OR last couple of days?
Thanks much!
Gary
You could have a background process summarize the rows each day into daily /
weekly buckets, and then delete out of the heavy usage table. That way the
table does not go out of control, it has at most a week of data at any one
time.
--
Aaron Bertrand
SQL Server MVP http://www.aspfaq.com/
"Garyrek" <Ga*****@hotmail.com> wrote in message
news:O$**************@TK2MSFTNGP09.phx.gbl... Hi Manohar / Aaron I should have mentioned this earlier, this way the table gets too big henceforth database, is there any other way like storing in a file or using pagecounter component?
thanks
Girish
"Manohar Kamath [MVP]" <mk*****@TAKETHISOUTkamath.com> wrote in message news:u4**************@TK2MSFTNGP10.phx.gbl... Store individual hits, with timestamp, that way you are more data that you can report on -- weekly, hourly, or even minutely :)
Link Hit Time ---------- ----- 1 1 4/1/2004 1:12:23 AM 1 2 4/1/2004 1:12:24 AM 2 3 4/1/2004 1:12:25 AM
Collecting more data can only help you.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"Garyrek" <Ga*****@hotmail.com> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl... > this? I store hits counter, firsthit and lasthit in the database having this > I could only show all the hits since creation to last hit but NOT for last > one week or couple of days.... > "Manohar Kamath [MVP]" <mk*****@TAKETHISOUTkamath.com> wrote in message > news:OJ**************@tk2msftngp13.phx.gbl... > > Are you not storing this in a database? That would be the ideal > solution -- > > just implement a simple function that logs hits to a page, along with a > time > > stamp. It is also very flexible to report on whatever other > > parameters you > > want to report on. > > > > -- > > Manohar Kamath > > Editor, .netWire > > www.dotnetwire.com > > > > > > "Garyrek" <Ga*****@hotmail.com> wrote in message > > news:OG**************@TK2MSFTNGP09.phx.gbl... > > Hi > > > > I have a requirement where I need to make a report for each auto dealer > how > > many hits they got on specified date range, so for each car detail page I > > increment the counter and total it while doing that I store the last hit > > date, this gives the total hits for the dealer BUT does not > > facilitate > date > > range > > > > How do I give the user a date range so that he can check how many > > hits the > > dealer got lets say for last week OR last couple of days? > > > > Thanks much! > > > > Gary > > > > > >
On Thu, 1 Apr 2004 16:06:47 -0800, "Garyrek" <Ga*****@hotmail.com>
wrote: Hi Manohar / Aaron I should have mentioned this earlier, this way the table gets too big henceforth database, is there any other way like storing in a file or using pagecounter component?
Why not analyze the web server log files for thyis information
instead?
Jeff
"Manohar Kamath [MVP]" <mk*****@TAKETHISOUTkamath.com> wrote in message news:u4**************@TK2MSFTNGP10.phx.gbl... Store individual hits, with timestamp, that way you are more data that you can report on -- weekly, hourly, or even minutely :)
Link Hit Time ---------- ----- 1 1 4/1/2004 1:12:23 AM 1 2 4/1/2004 1:12:24 AM 2 3 4/1/2004 1:12:25 AM
Collecting more data can only help you.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com
"Garyrek" <Ga*****@hotmail.com> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl... > this? I store hits counter, firsthit and lasthit in the database having this > I could only show all the hits since creation to last hit but NOT forlast > one week or couple of days.... > "Manohar Kamath [MVP]" <mk*****@TAKETHISOUTkamath.com> wrote in message > news:OJ**************@tk2msftngp13.phx.gbl... > > Are you not storing this in a database? That would be the ideal > solution -- > > just implement a simple function that logs hits to a page, along witha > time > > stamp. It is also very flexible to report on whatever other parameters you > > want to report on. > > > > -- > > Manohar Kamath > > Editor, .netWire > > www.dotnetwire.com > > > > > > "Garyrek" <Ga*****@hotmail.com> wrote in message > > news:OG**************@TK2MSFTNGP09.phx.gbl... > > Hi > > > > I have a requirement where I need to make a report for each autodealer > how > > many hits they got on specified date range, so for each car detailpage I > > increment the counter and total it while doing that I store the last hit > > date, this gives the total hits for the dealer BUT does not facilitate > date > > range > > > > How do I give the user a date range so that he can check how many hits the > > dealer got lets say for last week OR last couple of days? > > > > Thanks much! > > > > Gary > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: George Stout |
last post by:
First off I do not know alot about writing queries to an Access
Database from an ASP page. This is why I need help.
I have an Events database for 6 colleges in our metro area. On the
homepage I...
|
by: Eric Wright |
last post by:
I cannot find any information about what might cause this error, hope someone
here can help.
I am testing our new servers, windows server 2003 with a SQL Server database.
There is an ASP page...
|
by: Elizabeth Harmon |
last post by:
Hi All
I am attempting to open a Word App from a web page and so far everything
works (After reconfig of dcomcnfg for Microsoft Word Document). I have one
minor problem, i cannot get the...
|
by: Jim Heavey |
last post by:
Hello, when I place the command of "Page.Databind()" into my program, the program generates and error saying "value was outside of range". If I take the instruction out, then the page displays and...
|
by: scottyman |
last post by:
I can't make this script work properly. I've gone as far as I can with
it and the rest is out of my ability. I can do some html editing but
I'm lost in the Java world. The script at the bottom of...
|
by: Jeff |
last post by:
I need to place a "Previous Page" link on every page within my site and
a simple javascript:history.back() will not work because I need it to
capture the state of the page when I left it. For...
|
by: Rick |
last post by:
I have a large list of objects where each object has a unique
(non-overlapping) date range. The list is sorted chronologically. What is
the most efficient way to search this list for a single...
|
by: Paul W Smith |
last post by:
I have written a hit counter, which I believe counts the times my page is
hit by a user for each unique session by the user.
The relevant part of my code is below:
If...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
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...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
|
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,...
|
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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |