I am using phpcake. I have to check if a user is logged in with some user/pass no other one can use same user/pass till one is logged in.
I have idea it cam be done through the database maintaining the table for logged in users. But I dont wana add new table. Is there any way out doing it with session?