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 |
what is php stands for?
23 Answers Infosys, Satyam, Torque Infotech,
What is multidimensional array in php?
Is age nominal or ordinal?
Is empty check in php?
hi, i am new for php I want to know where to create & how to run phpscript programme in LAMP?
Can you define an array argument as a reference type?
What are the reasons for selecting lamp (linux, apache, mysql, PHP) instead of combination of other software programmes, servers and operating systems?
Why would we use === instead of ==?
What are the advantages of PHP over HTML?
11 Answers Infosys, Torque Infotech,
What PHP stands for?
How to write in a file in php?
Why do we use namespace in php?