I want to have a site that forces you to log in and then will not let you go to any pages unless you have entered a successful username and password (I am using an Oracle Db). In PHP, I used Session variables, but I am new to JSP and do not know if it really has the same functionality.
I have a JSP book, but my attempts have failed so far.
How do I declare a session variable, and what do i have to do in order to keep the session alive and pass a variable along to each page so each page knows NOT to redirect the user back to the login if they have already done so successfully.
Any code or suggestions would be greatly appreciated.