-
June 20th, 2005, 07:59 PM
#1
Junior Member
using sessions for authentication
Hi,
I am writing a program using Java servlets. I want to use a session for user authentication.
In the login page I check users user name and password with usernames and password in my database and store username and password in a session.
After that do I have to check the user name and password stored in session with my database, in every page. Or can I just check wether there is a session avaiable and if the session is available, allow the user to view the page.
Thanks a lot,
Chamal.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|