hit counter

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Giotta

    hit counter

    Does someone know where I can obtain a (free) simple js hit counter (that
    doesn't rely on cookies).
    Thanks.

    Pete Giotta


  • Paul Wellner Bou

    #2
    Re: hit counter

    Hi Pete,

    There's no way to manage this with JavaScript.
    JavaScript is a pure Clientside language. What
    are you searching for? An hit counter which counts
    all hits of your site?

    To do this you need a method to store information
    (in your case the hits) outside the actual Browser
    Window and to keep this information for later use.
    With JavaScript you can't get further than the actual
    Browser Windows. If you close this window all information
    will get lost. The only way I know to save Information
    with JavaScript are Cookies.
    But I don't know how you want to make an hit counter
    with cookies? Cookies are stored locally, at the client's
    machine.

    Saludo
    Paul.

    Comment

    • kaeli

      #3
      Re: hit counter

      In article <vo5iqt29bpbp75 @corp.supernews .com>, giotta562@chart er.net
      enlightened us with...[color=blue]
      > Does someone know where I can obtain a (free) simple js hit counter (that
      > doesn't rely on cookies).
      > Thanks.
      >
      > Pete Giotta
      >
      >
      >[/color]

      There are tons of free counters out there (just search google), none of
      which can be done with pure JS (they all have a backend of Perl, etc,
      but many don't require that backend to be on your server). I don't
      believe many rely on cookies - they use the IP address.


      -------------------------------------------------
      ~kaeli~
      Jesus saves, Allah protects, and Cthulhu
      thinks you'd make a nice sandwich.


      -------------------------------------------------

      Comment

      • Hywel Jenkins

        #4
        Re: hit counter

        In article <oprwok8shrq6cj lk@news.individ ual.net>, paul.wellner@un ited-
        scripts.com says...[color=blue]
        > There's no way to manage this with JavaScript.[/color]

        Yes there is. Here's a starter for 10.
        This domain name is available, own it today. Affordable payment options. Fast and professional service.

        [color=blue]
        > JavaScript is a pure Clientside language.[/color]

        No it isn't. You can use JavaScript in ASP documents, and Netscape
        servers come with their own brand of server-side JavaScript.

        [color=blue]
        > To do this you need a method to store information
        > (in your case the hits) outside the actual Browser
        > Window and to keep this information for later use.
        > With JavaScript you can't get further than the actual
        > Browser Windows.[/color]

        See above.

        [color=blue]
        > If you close this window all information
        > will get lost. The only way I know to save Information
        > with JavaScript are Cookies.[/color]

        Ah, so you don't know about ASP or server-side JavaScript?

        --
        Hywel I do not eat quiche


        Comment

        • Paul Wellner Bou

          #5
          Re: hit counter

          Hywel Jenkins wrote:
          [color=blue]
          > Ah, so you don't know about ASP or server-side JavaScript?[/color]

          Yes, I knew that there is something to run JavaScript on the
          Server, with the attribute runat="server".
          I supposed the original poster was talking about the 'typical'
          clientside JavaScript - sorry.

          But I didn't know that you can use JavaScrip in ASP. Ok, in
          ASP .NET you can implement al you want, there is a default
          support for JScript given in the CLR. But I didn't know that
          ist is possible with not-.NET ASP.
          The attribute runat="server" (or similar) is for ASP, for
          the Netscape server or both?

          Saludo
          Paul.

          Comment

          • Lasse Reichstein Nielsen

            #6
            Re: hit counter

            Paul Wellner Bou <paul.wellner@u nited-scripts.com> writes:
            [color=blue]
            > But I didn't know that you can use JavaScrip in ASP. Ok, in
            > ASP .NET you can implement al you want, there is a default
            > support for JScript given in the CLR. But I didn't know that
            > ist is possible with not-.NET ASP.[/color]

            You can use any language with ASP that has an implementation for the
            Windows Scripting Host. That includes Perl, with a third party
            implementation. Out of the box, it includes VBScript and JScript.
            The defualt language for ASP is VBScript (and for ASP.net it is VB,
            and you can use any language that has a compiler to .net).
            [color=blue]
            > The attribute runat="server" (or similar) is for ASP, for
            > the Netscape server or both?[/color]

            I don't know how Netscape does it, but I am pretty sure that
            runat="server" is specific to ASP.

            /L
            --
            Lasse Reichstein Nielsen - lrn@hotpop.com
            Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
            'Faith without judgement merely degrades the spirit divine.'

            Comment

            • kaeli

              #7
              Re: hit counter

              And on the day 08 Oct 2003 03:05:26 +0200, lrn@hotpop.com enlightened us
              with <ad8cmtd5.fsf@h otpop.com>...[color=blue]
              >[color=green]
              > > The attribute runat="server" (or similar) is for ASP, for
              > > the Netscape server or both?[/color]
              >
              > I don't know how Netscape does it, but I am pretty sure that
              > runat="server" is specific to ASP.[/color]

              No, I have used it with IPlanet / Netscape Enterprise Server. I'm not
              sure what you have to do to set it up, though, as I'm not the network
              admin. We have Unix servers.
              I believe Websphere also allows it. I saw references to it in the
              documentation.

              However, the implementation may be different depending on platform. The
              only reason I have ever had to use it was a lack of a decent scripting
              ability when I was on a Unix server. When I do ASP, I simply set the
              language at the top and use <% %> syntax. Now that we got JSP for Unix,
              I don't use it at all.

              --------------------------------------------------
              ~kaeli~
              Kill one man and you are a murderer. Kill millions
              and you are a conqueror. Kill everyone and you
              are God.


              ------------------------------------------------

              Comment

              • Peter Giotta

                #8
                Re: hit counter

                Thanks. I went with a free one. Just have to tolerate their small ad, I
                guess.

                Peter

                "kaeli" <infinite.possi bilities@NOSPAM att.net> wrote in message
                news:MPG.19eca7 5d883c60cb9898a f@nntp.lucent.c om...[color=blue]
                > In article <vo5iqt29bpbp75 @corp.supernews .com>, giotta562@chart er.net
                > enlightened us with...[color=green]
                > > Does someone know where I can obtain a (free) simple js hit counter[/color][/color]
                (that[color=blue][color=green]
                > > doesn't rely on cookies).
                > > Thanks.
                > >
                > > Pete Giotta
                > >
                > >
                > >[/color]
                >
                > There are tons of free counters out there (just search google), none of
                > which can be done with pure JS (they all have a backend of Perl, etc,
                > but many don't require that backend to be on your server). I don't
                > believe many rely on cookies - they use the IP address.
                >
                >
                > -------------------------------------------------
                > ~kaeli~
                > Jesus saves, Allah protects, and Cthulhu
                > thinks you'd make a nice sandwich.
                > http://www.ipwebdesign.net/wildAtHeart
                > http://www.ipwebdesign.net/kaelisSpace
                > -------------------------------------------------[/color]


                Comment

                Working...