Hi, How we are redirecting to the URL address for any of the screen in the application when the application is not in session.And how are we directing to the login page when an application is not in session.
If user is not logged in and tries to access application's page, they must be redirected to the login page. Assuming successful authentication, they should be redirected to the original resource they requested.How this process works?
well if the user is not logged in, whenever he tries to make an access to the page in the application you can always take him to the login page by checking whether the user is in the session attribute. as soon as ta user logs in and is validated, you store the userObject in session. whenever he logs out or tries to make a access without logging in you take hime to the login page.