need to re-login

hi everybody .
     I have some question about re-login . In many web
that you have to log in before use, after you login and  do
nothing  in period time (about 1-2 hr or depend on setting) when you do anything agian .You have to re-login .
I would like to do that in my web but I don't know how to know
how long of client browser in status "do nothing" .
please suggest  me to do that.
thank you
wanlopAsked:
Who is Participating?
 
ozoConnect With a Mentor Commented:
You could use cookies that are only valid for a finite time.
0
All Courses

From novice to tech pro — start learning today.