PHP Classes


Recommend this page to a friend!
  Classes of Ettore Moretti   Xaja Notifier   Download  
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Xaja Notifier
Notify user browsing a site in real time with AJAX
Author: By
Last change:
Date: 8 years ago
Size: 967 bytes


Class file image Download


What is XajaNotifier? XajaNotifier is a solution designed to send notifications to users browsing your site in real-time. Using the technique of reverse ajax through the implementation of long polling.

What I could use? Could be very useful in case you want to send any message to all your users online fast and non-invasive.

How do I configure? Db side, import the table that you will find in the package. Server side, change configurations to connect to the db in config.php. Client side configuration is the only one in the script js, where you specify the server address.

Known issues - deliberately (to make scripts as customizable as possible) has been given the opportunity to inject JavaScript code in the message

if not you need it, you may want to inhibit such a possibility ... 
File NotificationSender.php