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

How to update memcached when you make changes to php?

1023


What does the function get_magic_quotes_gpc() means?

988


What is the use of 'print' in php?

1070


How to include variables in double-quoted strings?

1019


Is php pass by reference or value?

1147


What is csrf token and how it works?

1051


How does php session work?

1030


What is an array in php?

1221


how to open & closing opening period in fico

1720


What is the role of php?

1036


What is whitespace in php?

1107


What are properties in php?

1015


How to upload file in php?

1079


What is local variable in php?

1028


What Is a Persistent Cookie?

1102