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 |
How to get number of days between two given dates using PHP?
What are the steps involved to run php?
Tell me are parent constructors called implicitly inside a class constructor?
hi,am a fresher in sap sd,will i try as a fresher or i wl go for with 2 to 3 yr exp,pls suggest me which web site is best for sap freshers.
What is include in php?
Explain me what is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
Is session a cookie?
How can we execute a php script using command line?
How can I use the COM components in php?
1 Answers Covansys, Rushmore Consultancy,
Write a statement to show the joining of multiple comparisons in php?
Tell me how to create a text file in php?
Tell me what kind of things have you done on the social side?