I think I may have it. I'm trying to limit
users to a certain folder to only 1 connection at a time. I'm going to
keep a list of active connections.
DO I just write the access handler and at some
point in the handler add the cleanuphandler
sub handler {
# code to check for active
connections
# code to add ip to active
connections list if not already active
# if already active return
FORBIDDEN else
$r->push_handlers(PerlCleanupHandler => \&cleanup);
return OK;
}
sub cleanup {
# remove active connections
here
}
Is this correct.
John Michael
|
- Re: connection monitoring still John Michael
- Re: connection monitoring still Ged Haywood