I want to control the user name which is loggin into the application. Once the user is logged in, the username should be saved through out the system until the user logged out. For that matter, how can i keep the user name? Should i use cookie or session? How is the difference and which is better? Is anything sample to use these, please let me see. Thanks.