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 validate the request (Eg:user name and password) in
session(http session)? not in LDAP server ?

Answer Posted / hasan ul huzaibi

You can Use a HashMap to put all user objects into into it
and put this hashmap into session and whenever required get
HashMap from session and get object with key as user name
and then validate it against login
details...hasanulhuzaibi@gmail.com

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain differences between collection api and stream api?

1087


What are byte codes?

1131


What is string pool in java?

956


What are methods of a class?

973


What are the steps involved to write rmi based programs?

949


What is the use of StringTokenizer class?

1014


Give me an example of array and linked list? Where they can be used?

954


When object is created and destroyed?

1035


Does constructor be static?

981


when to use ArrayList and when to use HashMap in webApplication.

4588


Can a class be private in java?

941


What is the final class modifier?

965


Break statement can be used as labels in java?

943


How do you compare objects in java?

882


What do the thread?class methods run() and start() do?

981