Link to home
Start Free TrialLog in
Avatar of Gisuane
Gisuane

asked on

Up to the minute data

Im trying to accomplish something in pretty much any language with a preference for perl, php, javascript.

I have an admin section to a web site that, if the super-admin (or just 'admin') is logged on through the web page, is notified via javascript alert (for now, will likely change to something less irritating) when visitors do certain things on the page. This must be fairly quick and accurate.

For example: if the admin is on and another administrator logs on, the first admin should be notified. If another administrator deletes a file, the admin should be notified. Etc.
The admin should be notified, basically within seconds, of other sensitive actions the other administrators are taking.

Does this make sense?
Avatar of Gisuane
Gisuane

ASKER

This same thing will probably be used to allow administrators to send messages to eachother in real-time, if that helps any...

I'll be willing to increase the point value of this for speedy responses, code samples (preference, again, for php/javascript) etc.
ASKER CERTIFIED SOLUTION
Avatar of IeuanJ
IeuanJ

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
A third solution would be to create a client for your admins to access the site through that ould perform the saem way as the applet, but without the download time each use.

Despite my laothing of them I would say applets are the best choice though, especially with the real time element you are looking for.
Either that (a Java applet) or perhaps a rich client application coded in C, C++, or .NET perhaps.

Web pages aren't really suited to this kind of functionality in general, and definitely not PHP or JavaScript since they are scripting languages - server-side and client-side respectively, but still scripting languages.

I would definitely either go with a Java Applet or a Windows App - either that or you will just have to settle for having your page (or a frame) refresh over and over to request new information from the server...