Re: seeing who is using the site..




"Erwin Moller"
<Since_humans_read_this_I_am_spammed_too_much@xxxxxxxxxxxxxxxx> wrote in
message news:493f9fe0$0$184$e4fe514c@xxxxxxxxxxxxxxxxx
Erwin Moller schreef:
The Natural Philosopher schreef:
Interesting problem. Who is 'online' to the site? and what pages are
they accessing..

Ok, could just do a nasty bit of regexp on the logs..but what about
every page extracting callers IP address, its own identity,(all my pages
are php) and possibly what bits of the database are being accessed....

any ideas on a nice way to present this in a 'sysadmin' page?



Hi Philosopher,

The 'who-is-online' is a little hard on normal setups.
I approached it in the past like this, but that was on a site that
demanded people to log on first:

That was poorly and confusing formulated.
What I wanted to say: If you demand them to log in, you know WHO they are,
as opposed to unknown visitors that happen to start a session with your
site.
If they do not authenticate themself with username/password, you can of
course happily start a session anyway.

But you will never, ever, know when they "leave".

Hint: I sometimes have several copies of my several browsers open. Sometimes
for days. Perhaps weeks. A browser keeps a session cookie untill *all*
instances of that browser is closed. I may revisit the subject site next
week, with the same session cookie.


.



Relevant Pages

  • Re: retreiving a .jsp page
    ... >time, tried get and wget, geturl, all return an empty page. ... probably expecting some state from a page you visited earlier. ... or it could be expecting a session cookie that was set earlier ... previous session that you did with a browser. ...
    (comp.unix.solaris)
  • Re: seeing who is using the site..
    ... Ok, could just do a nasty bit of regexp on the logs..but what about every page extracting callers IP address, its own identity,and possibly what bits of the database are being accessed.... ... If you demand them to log in, you know WHO they are, as opposed to unknown visitors that happen to start a session with your site. ... A browser keeps a session cookie untill *all* instances of that browser is closed. ...
    (comp.lang.php)
  • Re: Cookie Question
    ... >> A session cookie will die after the browser is closed if you specify no ... >> available while the browser is open. ... opens up a page on your site then jumps to another site this jump is a ... This is not a PHP problem, ...
    (comp.lang.php)
  • Re: session riding
    ... > When a user browses my script I'd like to grab a session cookie from the ... A normal browser will only send you cookies in the same ... domain as the request, so this is likely not possible. ...
    (comp.lang.ruby)