Introduction This tutorial shows how to check username availability using Servlet, AJAX and MySQL. Sometimes we need to check username availability instantly before a user presses the submit button after filling a long-sized signup form. In this case we can use AJAX with any technologies like PHP, Codeigniter, Servlet, Struts, JSF, Spring etc. for checking whether the input username is avaialable or already occupied by someone else. So if we give instant result to the user for username availability then sometimes it makes more sensible than while pressing the submit…
ContinueTag: JavaScript
Show Warning Message to User When Session Expires
Introduction In this post we will see how to show warning message to user when session expires in a web application. So we will redirect user to login page once session has expired. We know that we let users login to the web application before a user can perform some sensitive activities like online transactions, updating user’s profile etc. So we need to maintain session for these kind of activities and a session is built for a specific time period. A session is attached to a client or user. Therefore…
Continue