Hi All
@Bruno
Thanks for your Effort. I really Appreciate it.
But here i agree with Stefan.
Consider a case that after say 30 minutes the user gets the Message
Box with the special Button
But he has gone out at just 29th minute n will be away for 2 minutes
only.
But since he has not clicked the button when he returns "POOF" his
work is gone!!!
that can be really frustrating...
And moreover nobody would like to bog the user to press a button to
continue a session after every fixed interval of time,
except when you are charging the user for the duration he is using the
facility
So it should be maximum inactivity time.
but that's a nice Effort i can again say that...
@Prakash
That can help i'll look into it for sure.. thanks for the link.
since i have heard about comet programming for the first time it will
require a bit of R&D
Thanks for you suggestion.
@nacho
Well that's the very problem.
I mean that till the user does not presses a button (take it as, sends
a request)
he remains in the system even when his session should have expired.
TimedOutException as you said will only kick in when you "SEND" a
request and recieve the exception in response.
what if the user has left the session open in his office and has
returned home for the day.
there will be no request to process through which i can respond with
the exception...
this keeps him logged in for the whole night.
and with limited number of people allowed to lgin at any given
instance of time
that a wastage of a precious resource.
@ALL
Is there any way to detect when the user has gone inactive??
So that we can user the code provided by "Bruno" by slightly modifying
it to kick in only when the user is inactive
I mean to say that say a user has been inactive for say 5 minutes then
the Bruno's code kicks in and starts it counter pre-setted at 25
minutes
so effectively user gets a message at the 30th minute to press the
button to continue....
this saves the effort of user to press the button everytime till he is
active and still does the work!!!