Fix Oracle Logon Denied Error In Pivotal Cloud Foundry

Introduction Are you getting logon denied error while starting or deploying your Spring Boot application into Pivotal Cloud Foundry (PCF) cloud environment? Generally, logon denied error occurs while your application is trying to connect to database server. The error you get in your application log is similar to the following error: From the above error message it is clear that…

CodeIgniter 4 MySQL Login Logout Example

Introduction This tutorial is about CodeIgniter 4 MySQL Login Logout example with MySQL database version 8. I will use CodeIgniter’s session library to store logged in user’s data. The session data get destroyed as soon as user logs out of the application. I am also going to create a custom config to use a key or variable across the application….

CodeIgniter Login Logout With Remembr Me

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 you may need to remember username and password for few days…

Python 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…

JSP 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…

JSF 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…

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…

Prevent user going back to login page if already logged in using filters

In this article I am going to show you how to prevent user going back to the login page if a user is already logged in or redirect a user to the login page if the user is not already logged in. When browser caches the resources then clicking on the browser’s back button will take a user to the…