PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, August 5, 2022

[FIXED] How would I verify an users identity SOCKET.IO

 August 05, 2022     express, javascript, node.js, passport.socketio, socket.io     No comments   

Issue

I am making an live - chat platform, but I cannot find a way to verify a users identity.

I do not have any code because there arent any errors.


Solution

I ended up solving this after reading this article. They used the express-session package and showed how to get the req.session variable from a socket.io event.



Answered By - Liam Sholts
Answer Checked By - David Marino (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing