wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "session using jsp" Watch "session using jsp" New topic

session using jsp

muhammad sami

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

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)
It is sorta covered in the JavaRanch Style Guide.
subject: session using jsp
Similar Threads
Session Killing
How to disconnect resources if user logout unnormally?
how to use Session in Struts
How to get values of all session variable--application wide?
Global Storage Of Values