Gossamer Forum
Home : Products : DBMan : Customization :

Session ID mod?

Quote Reply
Session ID mod?
Does any one know how to make it so the session ids expire after 1/2 hour of inactivity instead of after 2 or 3 hours?

Matt
Quote Reply
Re: Session ID mod? In reply to
Well, the session ids don't expire after a certain period of inactivity. They expire after a certain period after they're created. The default is to expire 6 hours after the login is created, no matter if you're still working on the database after 5 hours and 59 minutes.

To change the length of time before a session id is deleted, look in the .cfg file for

$auth_time = 21600;

If you want the session ids to expire a half hour after they're created, set this to

1800

(30 minutes x 60 seconds per minute).

All this assumes you are not using the SQL version of DBMan. I don't know how the SQL version works regarding this.

------------------
JPD





Quote Reply
Re: Session ID mod? In reply to
I know that the seesion ids expire after 6 hours. I'm asking if anyone knows how to modify the script so that the session ids expire after 1/2 of inactivity.

Matt