By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,302 Members | 3,621 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,302 IT Pros & Developers. It's quick & easy.

set Time interval

P: 20
Hi all

I need a help doing an application in jsp..i got struck in a position where i have not done that before

There are multiple users in my application..for each user the time allotement is 9am to 4pm...after 4 it should automatically logout and the admin can increase the time interval say upto that he can work til 5pm...
how can i do this...while logging also it should check the time
Jun 23 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 10K+
P: 11,448
Create a Session object for the user when s/he logs on; you can set a duration
on the validity of the session. Make the validity time out at 4:00pm.

kind regards,

Jun 24 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.