S
Sameer
A JSP application accepts username and password from user.
Username and Passwords are stored in a Oracle database.
It connects to the database and validated username using the passwords
from database.
A user-id is also retrieved from the database and it is being put in a
session variable.
session.putValue("m_use_id", new Integer(m_use_id));
This user id is being used for further operations in the application.
Sometimes it happens that when the user logs into the application
using his username and password he get logged in as the username
having the user-id =1 automatically.
I have checked the code of application and find nothing wrong with the
code for this malfunction.
Can session variable values are being altered in the memory or any
other reason for this malfunctioning?
Any experiences like this?
Any guesses for this malfunctioning?
-Sameer
Username and Passwords are stored in a Oracle database.
It connects to the database and validated username using the passwords
from database.
A user-id is also retrieved from the database and it is being put in a
session variable.
session.putValue("m_use_id", new Integer(m_use_id));
This user id is being used for further operations in the application.
Sometimes it happens that when the user logs into the application
using his username and password he get logged in as the username
having the user-id =1 automatically.
I have checked the code of application and find nothing wrong with the
code for this malfunction.
Can session variable values are being altered in the memory or any
other reason for this malfunctioning?
Any experiences like this?
Any guesses for this malfunctioning?
-Sameer