Re: Malfunctioning of JSP application



On Feb 23, 8:45 am, "Sameer" <dolph...@xxxxxxxxx> wrote:
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


Some code would be helpful. My guess is that something in the code is
wrong.

.



Relevant Pages

  • Re: Pathname to access and usernames in shortcut
    ... >> network drive (for maintenance reasons initially, ... >> using usernames but no passwords. ... change their passwords within the access database (they won't know how ... >> gets the current username from the system and then calls access (via the ...
    (microsoft.public.access.security)
  • Re: php inserts into DB
    ... database...the only problem is that it doesn't put anything in the database. ... // checks if the username is in use ... die('Your passwords did not match. ... terminate the string and concatenate the variable, or use sprintf to format the string correctly. ...
    (comp.lang.php)
  • Re: Malfunctioning of JSP application
    ... Username and Passwords are stored in a Oracle database. ... You rarely, if ever, should declare instance variables in a JSP. ...
    (comp.lang.java.programmer)
  • Re: php inserts into DB
    ... database...the only problem is that it doesn't put anything in the database. ... // checks if the username is in use ... die('Your passwords did not match. ...
    (comp.lang.php)
  • Re: Malfunctioning of JSP application
    ... Username and Passwords are stored in a Oracle database. ... having the user-id =1 automatically. ...
    (comp.lang.java.programmer)