• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Records are visible but not accessible error

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 312
MS IE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Put the moon back where you found it! We need it for tides and poetry and stuff. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic