aspose file tools*
The moose likes JSP and the fly likes session using jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "session using jsp" Watch "session using jsp" New topic
Author

session using jsp

muhammad sami
Greenhorn

Joined: Feb 06, 2003
Posts: 4
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

Joined: Dec 03, 2002
Posts: 20
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
 
jQuery in Action, 2nd edition
 
subject: session using jsp