Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session using jsp

 
muhammad sami
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to use session tracking using jsp since user can go to certain pages according to the rights they have ,so to implement session checking for each user and whats the efficient way to implement that,it if some one can tell me few good websites for session i would more than appreciate that.
 
Jochen Maes
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you could set a session attribute with his access in it.
my users all have a number assigned from 0-5 depending on what they can and cannot do.
this is what i put in my session:
userid, username, loggedIn (true or false) and access value (0-5)
greets
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic