Methods of listing most popular pages in website

Discussion in 'ASP .Net' started by KevD711, Feb 11, 2008.

  1. KevD711

    KevD711 Guest

    Hi. I'm building a new data driven site with some static pages mixed
    in. I would like to provide a list of the most popular or most viewed
    pages on my home page. I can't decide if I should write the hits to
    the DB, a text file or use IIS's logging. My first choice would be
    the IIS logs I think. I have some code that will query the log pretty
    well but all I can seem to get in a recordset is the file name not the
    title of the page to create a link with. Does anyone have a any
    ideas, experience or code snippets they would like to share or point
    me to. Thank you for any thoughts. Kevin D.
     
    KevD711, Feb 11, 2008
    #1
    1. Advertising

  2. KevD711

    bruce barker Guest

    iis logs make the most sense. you can use a log filter to add additional info
    to the log, or add a "tag" (arg) to the url to help identify the page. you
    can also use a site crawler to build a database of pages, then the logs to do
    the hit counts.

    -- bruce (sqlwork.com)


    "KevD711" wrote:

    > Hi. I'm building a new data driven site with some static pages mixed
    > in. I would like to provide a list of the most popular or most viewed
    > pages on my home page. I can't decide if I should write the hits to
    > the DB, a text file or use IIS's logging. My first choice would be
    > the IIS logs I think. I have some code that will query the log pretty
    > well but all I can seem to get in a recordset is the file name not the
    > title of the page to create a link with. Does anyone have a any
    > ideas, experience or code snippets they would like to share or point
    > me to. Thank you for any thoughts. Kevin D.
    >
     
    bruce barker, Feb 11, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mike
    Replies:
    4
    Views:
    11,172
    Rob McAninch
    Dec 31, 2005
  2. Ron Stephens
    Replies:
    23
    Views:
    2,861
    Ron Stephens
    Apr 12, 2004
  3. Steve
    Replies:
    0
    Views:
    380
    Steve
    Oct 25, 2004
  4. Neil Benn
    Replies:
    8
    Views:
    353
    Alex Martelli
    Oct 26, 2004
  5. iwach
    Replies:
    36
    Views:
    1,403
Loading...

Share This Page