How to restrict the number of users login ? For ex:- if the
allowed login is 10, for 11th user, the application should
restrict them from login.
Answer / abc
i will store session variable in database and every time when
user login, i will count no of session variable exists in
database, if it is more the 10 session variable , i will
generate error, otherwise i will let it login
Is This Answer Correct ? | 8 Yes | 5 No |
Does it possible to compile php with mysql without having mysql sources?
How to Calculate Internal links & External Link in Website.(For Example YAHOO WEBSITE)
Different between the var_dump() and print_r()?
Why is php used for web development?
what the new feature add in php 7.2?
What is the meaning of a persistent cookie?
What is $$ in php?
How do you find the length of a string in php?
What is the difference between the functions unlink and unset?
> symbol is used to redirect the output of a command. State Whether True or False?
Does php support multithreading?
How come the code works, but does not for two-dimensional array of mine?