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 php routing?

991


How to find length of an array in php ?

1026


How to read the entire file into a single string?

995


What is mod_php?

1019


How to remove values saved in the current session?

1045


how to open & closing opening period in fico

1668


What is a php form?

1021


Where session is stored?

985


Is age interval or ordinal?

940


What is the function mysql_pconnect() usefull for?

1113


Explain what are psrs? Choose 1 and briefly describe it?

972


Tell me how to create a session? How to set a value in session? How to remove data from a session?

998


What is cms php?

959


Can we run php in apache tomcat?

974


How to create a web form?

1026