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

What are the classes of java?

1022


Define how can we find the actual size of an object on the heap?

1287


What are the object and class classes used for?

1092


What loop means?

1004


What does it mean to flush a file?

1112


What are different types of control structures?

1032


Can we write multiple catch blocks under single try block?

1147


What is JDBC Driver interface?How can you retrieve data from the ResultSet

2152


Is char * a string?

1051


Why does abstract class have constructor?

1067


worst case complexities of Quick sort and Merge sort.

1090


What is flush () in java?

1072


What does substring mean?

1031


Can a singleton class be inherited?

1015


Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?

8196