Session Destory when user nothing do in the account

Hi,

How can automatically session destroy when user do nothing in that site mean in that particular time?

I want to set time duration 2 hours, suppose user cant do nothing do between 2 hours mean it will automatically

logout how?

Hi.

Look here (5th answer)

Regards.

Hi lagogz,

Thanx For Your reply,But i have some doubt how to check that user using website or not?.Suppose User can do Somethings(Search things,eit profile or something) at this time session dont clear.