Hello Ranchers!! I'm using jsp and oracle for doing my project.. So when i got logged in.. i used to put the user name and password in the session.. for egs : 1)main page is index.jsp.. 2)main_menu_page.jsp
so for that i want to check for the sessions first in all pages.. can u help me.. how to search for the session!! if u can provide me code.. that is also ok!!
thanks in advance.
posted 9 years ago
1. To verify the correct user, in main menu page take the user name and password from the DB and store it. when you are passing the value from the login page, check with DB value. If its not equal then redirect it.
2. In your main menu page, check the session value. If its null then 'redirect' to login page. [ May 18, 2006: Message edited by: Sri Gnana ]
Thanks & Regards