I am facing one problem in web socket connection. I have login page and home page. I created web socket connection in login page for verifying username and password. I successfully created the connection and redirected to home page also. Now the problem is there is one more web socket request I need to create in home page. SO now At home page if I make a new request it is asking again user should be logged in. AS I already logged in in login page and came to home page. SO like this for every page before doing any request it is asking login. Please suggest me how to handle this situation.
Okay, so can you post some code? Unless I misunderstand something, you're trying to authenticate your website over web sockets? Unless you're writing some kind of game server, I can almost guarantee that cookies/tokens over HTTP is a better way to do this...
Sorry, you need to Log In to post a reply to this thread.