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 http get and post?

1056


What is the difference between explode and split?

1182


Give the case where we can use get and we can use post methods?

1094


Does jwt protect against csrf?

983


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

1044


Explain Creating and Naming an Array?

1076


Do you have to initialize variables in php?

1005


Explain how we can get the number of elements in an array?

1117


How we load all classes that placed in different directory in one php file , means how to do auto load classes.

1044


Is php session id unique?

1020


Explain the syntax for ‘foreach’ loop with example.

1005


What does csrf token mean?

988


Explain NULL?

1090


What is the difference between null and empty?

1079


What is a path Traversal?

1095