Now i pushing data to channel redis everytime, when reload web page and this data is put to stack redis and is displayed here again and again:
$rediska->publish('real', 'PHP SENDING'); this is called every reload page
redisClient.on('pmessage', function(pattern, channel, message) {
console.log("Sending from Redis: "+ channel); // here i get real, real, real, real
});
how to control it? i must check if client side get message real, after dont send again this info, and delete data from redis if user click to button.