how can i set it ? by using php or apache I need example code thanks
Not sure, but why don't you store in a session var the date/time the client began to browse and then you can work out somekind of timeout period.
Alternatively use good old cookies!!