A
A
Alino4ka2016-09-05 04:09:13
Socket.io
Alino4ka, 2016-09-05 04:09:13

How to implement connection persistence?

Tell me, the task is: the user goes on the site from one page to another, you need to make sure that he does NOT reconnect to the socket, but remains connected.
Throw ideas on how to implement something like this in a bunch of php + node.js Something like this is implemented
here - tyk , as it's not entirely clear.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xfg, 2016-09-05
@Alino4ka

This is implemented here - tyk, as it is not entirely clear.

Very simple. The site is made on meteor . And you just need to do SPA . To do this, you need any Angular, Backbone, Ember, React, Polymer, Knockout or Blaze javascript framework that the developers of the meteor framework have written down. Thousands of them! But the main thing that unites them all is the active use of ajax to load html pages.

R
rowlot, 2016-09-05
@rowlot

angular js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question