troubleshooting Question

session management

Avatar of drieske
drieske asked on
Fonts TypographyJSP
3 Comments1 Solution227 ViewsLast Modified:
Hello,

I've a webapplication where users can login. Each user has a profile like (name,password,address,...). What i want to add is a column "logintime", this column contains the amount of minutes a user should be logged in. After that time the loginsession should invalidate.

I've used in web.xml the session config. Problem is that this is for the whole application and thus for every user.

 <session-config>
    <session-timeout>45</session-timeout>
  </session-config>

What i want to do is adapt this to:

 <session-config>
    <session-timeout>-1</session-timeout>
  </session-config>

and use the the logintime for each user. How can I create a session invalidator based on each user his settings (logintime)?

Thanks!
ASKER CERTIFIED SOLUTION
mbvvsatish

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros