Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Event when a client connects |
|
Author |
|
g1vvu
Joined: 12 Mar 2018 Posts: 2 Location: uk,Seahouses
|
Posted: Wed 11 Apr '18 9:23 Post subject: Event when a client connects |
|
|
Does anyone know if there is an event generated when a user connects?
I currently run a cron job every 3 minutes & then test the access.log for a specific pattern but would really like this
to be more responsive,
many thanks,
John |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 25 Apr '18 16:15 Post subject: |
|
|
No, there isn't. But why don't you do that with a perl or php script? Like an index.php could do that.
What do you trying to find out when a client connects? |
|
Back to top |
|
g1vvu
Joined: 12 Mar 2018 Posts: 2 Location: uk,Seahouses
|
Posted: Sat 05 May '18 9:37 Post subject: |
|
|
James Blond wrote: | No, there isn't. But why don't you do that with a perl or php script? Like an index.php could do that.
What do you trying to find out when a client connects? |
many thanks for your reply James.
Quote: | 'I currently run a cron job every 3 minutes & then test the access.log for a specific pattern' |
mainly I do this for security reasons.
I realize that apache is very secure, but what i need to do
requires system access, so really has to be done off site.
the php way could be one possibility (inserting into a database), but any polling method will create large amounts of data (I was taught in the early days of computing & i like to keep things small)
regards,
John |
|
Back to top |
|
|
|
|
|
|