Menu
Hello! I’m creating a site that will allow users to control a webcam and motor. I only want to allow one user at a time to use the controls. (So people can’t try to force the motor to do two different things at once!) Is there a way of doing this with JavaScript?
I’m using Apache as a server, and I know I can limit the number of clients, but that would be a server-wide change, and I only need to restrict access to 1 site on the server.
I thought about using cookies, and having them expire after a certain time, but couldn’t quite get a handle on how to restrict access to just 1.
Thanks in advance!!
Megan