Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Records are visible but not accessible error

 
keerthana kuruba
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have developed one application and running through tomcat 7.0. I'm accessing my database using premiumsofts Navicat for mysql. Records are visible but not accesible for the user table. especially when i create new user in register page.It showing database is updated message and could find the updated reocords in Navicat user table.But i can login with the updated user only.not with the previous users . I have the following table columns accoutID, UserID,userType,password,lastLogin,Time,isActive fields in user table.But where as in register page i have kept only accountID,userID,password fileds to register a new user then a submit button.Previously it was working fine with every user.After some days when i runned the application not validating any user except the new user value.How to solve this problem .is there any problem with the code or with sql database.please tell me how can every user in the database can access the web application.
 
Madhan Sundararajan Devaki
Ranch Hand
Posts: 312
Java MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may need to add the user as a user of the database, assign a role to the user and use the user table as one of the tables you check when you login to your application.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic