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

Can we use string in the switch case?

1036


Difference between stack and queue?

1069


Is there is any difference between a scrollbar and a scrollpane?

985


What is treemap in java?

938


How do you declare an array that will hold more than 64KB of data?

1281


How many days will it take to learn java?

926


What is a platform?

1065


What is substring 1 in java?

1150


What is the purpose of main function in java?

1019


Explain the difference between association, aggregation and inheritance relationships.

1081


What is stack explain?

989


explain what is transient variable in java?

1119


What do you mean by default constructor in java?

1060


What is the difference between static binding and dynamic binding?

1115


What about interthread communication and how it takes place in java?

1052