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.



How to restrict the number of users login ? For ex:- if the allowed login is 10, for 11th user, the..

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

Post New Answer

More PHP Interview Questions

What is the default time of cookie in php?

0 Answers  


Tell me is it possible to remove the html tags from data?

0 Answers  


How to make database connection in php?

0 Answers  


What is the difference between the include() and require() functions?

0 Answers  


When sessions ends?

0 Answers  


Different between the var_dump() and print_r()?

4 Answers  


How to make multilanguage site in php? (like english,tamil)

2 Answers  


Is php still in demand?

0 Answers  


What is different types of visibility?

0 Answers  


What's the best method for sanitizing user input with php?

0 Answers  


What is the difference between characters 23 and x23?

0 Answers  


How to create an array of a group of items inside an html form?

0 Answers  


Categories