How to make a session to comit suicide after certain time?(autoexpire).
This is the deal, I have a intranet that requieres that the users, to be active, other wise they sould be kicked out (of the sistem not from the company 😃 ).
We want to avoid that IF some one let his Intranet Session open for more that 3 minuts the session must expire.
So far I use cookies and Java Script to do this, and I CLEAR ALL THEM when this happen, but thats with JavaScript, and the $_SESSION vars are still INTACT
So, is some PHP routine that sets an "autoexpire" or "expiration time", parameter that we can set when we create the session?