Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how many times a page is view

how many times a page is view

Scheduled Pinned Locked Moved ASP.NET
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amit sahu20
    wrote on last edited by
    #1

    hi i am working on a page to show how many time this page is visiting.. how can i do it.. i applied this by adding 1 on opening this page. but on revisiting this link how i prevent to increment no of view on same user

    C J 2 Replies Last reply
    0
    • A amit sahu20

      hi i am working on a page to show how many time this page is visiting.. how can i do it.. i applied this by adding 1 on opening this page. but on revisiting this link how i prevent to increment no of view on same user

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You would require the user to log in, and only count logged in views. Or you could store a cookie and hope they support cookies, that they don't have more than one PC and that they never delete it.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      • A amit sahu20

        hi i am working on a page to show how many time this page is visiting.. how can i do it.. i applied this by adding 1 on opening this page. but on revisiting this link how i prevent to increment no of view on same user

        J Offline
        J Offline
        Jagz W
        wrote on last edited by
        #3

        you can use database table too store the value

        One person's data is another person's program. --J.Walia

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups