Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

view/message online users 1

Status
Not open for further replies.

Tracey

Programmer
Oct 16, 2000
690
NZ
I have a need to see if anyone is connected to my site, and message them to warn of server down-times. (something like MSN messenger uses)

I have apache 1.3.20 running on NT4, with users accessing a cgi application.

can anyone give me some advise in this area?

[cheers] in advance [peace]

 
Without any sort of client-side app, you could always use php or perl (something along those lines) and add a line to each page warning the user... but the user wouldn't see this notice until the page was refreshed or they navigated to another page... this would be a good way to do it though. A simple admin script and the addition of one line to each page would do it. I can help write the script if you want! -gerrygerry
Go To
 
my "pages" are generated dynamically depending on what the request is. I could add this warning into my application but its not a very effective solution. (I would have to code the message into my source, recompile it, re-upload onto my server.. every time i wanted to reboot for example)

I did have notices on our home page but my boss asked me not to do this.

I now need some sort of pop-up message which i can activate from the server to pop up on every connected users screen when i need to maintain the server.

My Apache setup is only very basic, im not even sure if i can run php or perl anyway......

[infinity]


 
Hi Tracey,

The easiest way I can see to do this would be to create an image the same size as one already in a prominent position on your page. When you want to notify users, simply change over the images and they will see the new one.. This way it is simply renaming an image.

Other than that or what gerrygerry mentioned.. I'm lost..

Hope this helps Wullie

 
unfortunately there is no guarantee the user is going to even see the home page.....

 
I am not running a cgi script... i have a .EXE
(cgi APPLICATION) written in Delphi... I do NOT have perl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top