CodeNewbie Community 🌱

Valeriya Polyakova
Valeriya Polyakova

Posted on

How to limit the number of entries to the site with one login

Hi all! Could anyone please tell me how can I limit the number of entries to the site with one login? It will be Joomla-based. I need to get a unique device id regardless of the platform. What should I use here - php, javascript or something else? Can anyone tell?
Thank you.

Top comments (2)

Collapse
 
ben profile image
Ben Halpern

Redis is a key-value store which is often used in these types of situations. It's just a kind of database that works well for this sort of thing to centralize session confirmation rather than just storing it in a cookie.

I don't know Joomla well enough to add more, but maybe if you search stuff like "redis session store" you can start down a rabit hole to find something useful.

Collapse
 
valeriyaelf profile image
Valeriya Polyakova

Thank you so much for your help! I'll google it.