i have to create an application with session.during that
session a timer will be started & show the time in second
upto the session expired.So that i can know how many time i
in that session.
Hint:-i m hinted that it will coded with javascript
Answers were Sorted based on User's Feedback
Answer / ananth
SetInterval() method in javascritps we can monitor the
session in the specific interval and initial the session
invalidate methos if needed to be session expires.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / m
The login details must be saved into the table. Using
javascript u can fetch the data and compare with the system
time. Also you can manage to check session is empty or not,
if its so, means user has logout. Till that time you can
know that how much time user had been logged in.
| Is This Answer Correct ? | 1 Yes | 4 No |
What is a java ee container?
What is a java applet?
How does j2ee application work?
What is the use of jit compiler in java?
static variable is a class variable which value remains constant for the entire class?? variable means value is changed....hear value is not changed... why it is called static variable
Where can I find java developers?
Which edition of java is used for web application?
What is layout in java?
to update a batch in a table in jdbc which method of statement object is used
What is wildfly java?
what is transaction?what are the differenr type of transactions
What does java awt stand for?