Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Does wordpress run on php 7?

957


What are the variables in php?

1034


What does empty mean in php?

979


How do you use bcrypt for hashing passwords in php?

1053


What is html used for?

1009


Why is php used?

1005


What is isset function in php?

1176


With a heredoc syntax, do I get variable substitution inside the heredoc contents?

1082


Tell me what is the use of "enctype" attribute in a html form?

1009


What is abstraction php?

973


How can we display the output directly to the browser?

980


How to convert a json string to an array in php?

1050


How to remove the new line character from the end of a text line?

984


Can I include php in javascript?

1063


What is difference between post and put in rest?

1000