in reply to Re: Perl script that will control mailing list
in thread Perl script that will control mailing list

I guess I will pass the mailing list but how about that script that would show me who's online. I mean by this a script that print on my website somewhere how many people is currently browsing my page ??
  • Comment on Re^2: Perl script that will control mailing list

Replies are listed 'Best First'.
Re^3: Perl script that will control mailing list
by davido (Cardinal) on Sep 03, 2005 at 04:15 UTC

    For that, people need to voluntarily log in somehow. Just like here at PerlMonks, for example. Here, we log in and accept a cookie. On future visits (assuming we've got the "keep me logged in" option set) that cookie announces our presence. Then each time we hit the server, our "last seen" timestamp gets updated. The "Other Users" nodelet here at the Monastery, which shows who else is currently logged in, is actually a "Who has hit the server with a recognized cookie in the last ten minutes".

    That's about as good as you can do on the web. There is no true "logged in" state for the web; just "recently here". This isn't a Perl situation, it's a condition resulting from the fact that the Web is stateless.


    Dave