I am trying to make a random chat with ASP.NET and ajax/jquery. When user enters the chat room, I need a way to identify the user and give him a unique id with which I will record his words in my database. Do I need to use session, cookie or something else? What would be the best way to implement the random chat??
Share
Sessions:
Cookies
The absolute best way to identify the user will be a combination of a database (MySQL / Oracle / MSSQL) and cookies.