Introduction This tutorial will show you how to login logout to/from an application with remember me functionality in CodeIgniter framework using set_cookie() function. You can use get_cookie() to retrieve the value for a given key from cookie and delete_cookie() function to delete from cookie for a given key. Sometimes we need to remember username and password for few days or years so that next time onward a user can login without entering the username and password into the input fields. This gives users opportunity to remember their login credentials through cookie…
ContinueTag: Logout
jQuery AJAX based Login Logout using Python Flask MySQL
Introduction I will create an example to show you how to build jQuery AJAX based login logout using Python Flask MySQL. Flask is a light-weight framework for building rapid web application whose data are stored into MySQL database server. We will use HTML, AJAX technique using jQuery technology to call the REST API for login and logout endpoints. We will validate the credentials on server side code, i.e., using Python and Flask. We send http status code 200 on success and 400 for invalid credentials. We will use template from…
ContinuePython Flask Login Logout with Remember Me Option
Introduction In this post we are going to see how to give users opportunity to remember their login credentials through cookie so that next time they try to login to the application do not require username and password for login. In our previous tutorials we have seen how to login and logout from an application using the following examples: Python flask login logout example Python flask REST API login and logout example
ContinueJSP Servlet Login Logout with Remember Me
Introduction This tutorial, jsp servlet login logout with remember me, will show you how to login to an application with remember me functionality. Sometimes we need to remember username and password for few days or months or years so that next time onwards a user can login without entering the username and password into the input fields. The username and password fields get populated automatically from the cookie where the username and password are kept for few days or months or years.
ContinueJSF 2 javax.faces.application.ViewExpiredException
Introduction JSF 2 javax.faces.application.ViewExpiredException that arises due to the click on a link or button when session gets expired. This tutorial will show you how we can deal with ViewExpiredException or view expired exception and we will show a meaningful message to the user with a link which will take him/her to the appropriate page instead of showing such technical message.
Continue