Session Destory when user nothing do in the account


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?


Look here (5th answer)


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.