Hi,

 

I've got a php based CRM system that is used by real estate agents, by the
nature of their work they use the browser intermittently so frequently the
next time they want to use the application it has timed out.

 

I've googled until I'm blue in the face on this and cannot change the
timeout from the current (approx) 20 minutes.

 

I'm on a shared server, I have the following settings before initiating the
session and I've got a local session manager to capture the sessions in a
MySQL table.

 

ini_set('session.gc_probability', 1);

ini_set('session.gc_divisor', 1);

ini_set('session.gc_maxlifetime', 36000);

ini_set('session.cookie_lifetime', 36000);

ini_set('session.use_only_cookies', 1);

ini_set('session.use_trans_sid', 0);

 

I'm currently considering having a timer based ajax function that just does
a session update to keep the session alive, but from everything I've read I
should be able to change the session timeout time.

 

Can any body point me in the right direction?

 

Thanks in advance

 

Richard

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to