1
How do I put the sockets inside an express post?
I need to identify a connect from the express session
app.post('/login',function(req,res){
io.sockets.on('connection', function(socket){
...............
});
});
That way he doesn’t execute socke.io