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

What is the correct and the most two common way to start and finish a php block of code?

909


How will you calculate days between two dates in PHP?

1035


Is php dead 2019?

895


Tell us what does $_cookie means?

965


What are helpers in php?

901


Which php framework is best?

938


What are the features and advantages of object-oriented programming in php?

885


Why is facebook still using php?

1029


What is session in php w3schools?

1034


What are the different filter functions used to filter a variable?

929


What is difference between echo and print_r in php?

847


What function should you use to join array elements with a glue string?

934


How to join multiple strings stored in an array into a single string?

981


Explain PHP?

1019


discuss the issue of software theft in ghana and how it has affected the economy

2070