[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] User Sessions
Jim Webster said:
> Is it possible to show "current users logged in" or at
> least "users logged
> within the last hour"? If so, any help is appreciated... thx.
I have made a html page for clients like this, thanks to Dave Barr who
posted the code. Kevin Walsh put another spin on it, search for his
name in the archives:
<html>
<head>
</head>
<body>
[calc]
my $sessions = q{[dump-session find=1]};
my @array = split(/\s+/, $sessions);
my $num = @array;
my $out = $num . " people are currently surfing my site" ;
return $out;
[/calc]
</body>
</html>
Good luck!
Curt Hauge
//////////////////////////////////////////////////////////////////
// Web Design - Interchange Hosting - Small Business Consulting //
// 1525 Meadowwood Drive www.mnwebdesign.com //
// Brooklyn Park, MN 55444 www.iwantaconsultant.com //
// Phone 612-598-5530 info@mnwebdesign.com //
//////////////////////////////////////////////////////////////////
- Follow-Ups:
- [ic] User Sessions
- From: interchange-users@icdevgroup.org (interchange-users@icdevgroup.org)