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 Posted / 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 |
Post New Answer View All Answers
What is php routing?
How to find length of an array in php ?
How to read the entire file into a single string?
What is mod_php?
How to remove values saved in the current session?
how to open & closing opening period in fico
What is a php form?
Where session is stored?
Is age interval or ordinal?
What is the function mysql_pconnect() usefull for?
Explain what are psrs? Choose 1 and briefly describe it?
Tell me how to create a session? How to set a value in session? How to remove data from a session?
What is cms php?
Can we run php in apache tomcat?
How to create a web form?