Re: Count visitors on my website



noidtluom wrote:
On Jul 15, 8:09 pm, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:
Hadron wrote:
Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> writes:
Hadron wrote:
Michael Fesser <neti...@xxxxxx> writes:
You are the second one in this thread who obviously didn't read the "not
logged in" in the original post
I am reading the "stateless protocol" stuff above and replying to that
in the context of PHP.
Then you're not understanding what "stateless protocol" means.
.
And what does session counting tell you? Sessions can be open for hours
without any user interaction. The user could have died already in front
of his monitor and his session would still be open.
That's not the issue. Clearly something on a server cant know IF he is
reading the page or not. You can only go on the connections.
This is correct.
Good. Because that is ALL this is about.
Yes, now if you could just get your head out of your arse so you could
understand the rest.

"Currently online" has a meaning - and that is that HIS PC is
connected. The rest is guesswork.
There is no way to know if someone si "currently online". All you
know is he was online when he last requested a page. Anything else is
a guess.
Jesus H Christ.
Showing your lack of IQ, again? That's the only reason I can understand
to bring His name into this discussion.

Yes. But he IS connected. The session IS open. Whether he is physically
sat there is something we can NEVER know.
No, he is not. All you know is that he was connected when he made the
request. Period. No more. No less.

The session may be open - but that doesn't mean he's doing anything with
your site. All it means is that you haven't bothered to clean up the
mess he left yet.

Whatever way you go - it's always just guessing. So why bother at all?
Absolute tosh.
Yep, your concept is absolute tosh.
Balderdash.
Only in your mind and that of those otherwise completely lacking in
understanding about how the Internet works. Fortunately, most of us are
more informed - and more intelligent - than you.

Why show a questionable "information" that is of absolutely no use for
the visitor? Just to show how cool and active the "community" is? If you
want that you can use rand() - it's much easier than all others
methods.
As I said - you are clueless.
Yep, you are totally clueless. You have absolutely no idea how this
works, and think you can pull the wool over experienced programmers'
eyes.
What ARE you talking about? I have implemented session based web sites.
So? You've implemented sessions. Bully for you. It's something
anyone with a second grade education and a computer can do.

It doesn't mean you have any idea what you're talking about. But your
other posts here have proven you don't.

You can do it to clueless clients. But you can't do it here.
And I pity those clients.
Ye gods. Go get a clue.
Yep, I agree. You need to get a clue.

Suggestion - learn from those in this newsgroup who know more than you.
But I know you won't. Your kind never do.

And unfortunately, you create a bad name for the rest of us who really
do know what's going on. But we do our best to expose your fraud.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@xxxxxxxxxxxxx
==================- Hide quoted text -

- Show quoted text -

Hello there,
Sorry if I have not read the whole topic and this hasn't been answered
before, but here is my technique. It's rather a simple hack.
On a page, I would simply register the IP address and the current time
that the page was pinged in a mysql database. Then whenever somebody
viewed a page, it would check for any records in that database within
so many seconds. If it was within that range, it would say this person
was online. So you would simply have to just give the total number of
records.
Cheers.

As for the HTTP stuff, I seriously don't think it is very related,
this is a practical question, not theory.


Even less reliable. What do you do about corporate users - where everyone shares one (or two) ip addresses (the proxies/gateways)?

Or very large corporations and ISP's (like AOL) which have a whole bunch of proxies, and every request can come from a different IP address?

IP addresses are even less reliable than sessions.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: Count visitors on my website
    ... logged in" in the original post ... without any user interaction. ... of his monitor and his session would still be open. ... You can only go on the connections. ...
    (comp.lang.php)
  • Re: Count visitors on my website
    ... logged in" in the original post ... of his monitor and his session would still be open. ... your concept is absolute tosh. ... JDS Computer Training Corp. ...
    (comp.lang.php)
  • Re: [SLE] Switching between windows managers on the fly
    ... I've lost the original post in this thread but here's another option ... I was at the bookstore this afternoon perusing the linux mags. ... This opened a terminal in the window opened by the first ... This caused the windowmaker win manager to open in this x session. ...
    (SuSE)
  • Re: Continuation based app servers
    ... manage rounds of user interaction), and returns the result of the ... saving the stack, ... only a limited number of concurent modal sessions (around 150 or 200 ... if you call recursively do-modal only once per session). ...
    (comp.lang.lisp)
  • Re: ASP question global.asa
    ... The answer was in my original post. ... my website. ... session) will fire the handler when the session starts. ... Unsolicited commercial email will be read at a cost of $500 per message. ...
    (microsoft.public.scripting.jscript)