[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Connection timeouts



On 5/3/2012 2:09 ÎÎ, Marcin S wrote:

I have a question, lets say i have web application with ldap
authentication. User that log in to page opens new LDAP connection,
our LDAP also holds some security attributes per application and they
are verified for certain app operations, so connections remains open
for a whole time.
Question is when user close web browser or suddenly disconnects, will
this connection be timed out and closed by server?


From slapd.conf man:

idletimeout <integer>
Specify the number of seconds to wait before forcibly closing an idle client connection. A idletimeout of 0 disables this feature. The default is 0. You may also want to set the writetimeout option.

A web app is a single client to ldap server, no matter how many http clients there are to the web app.

Regards,
Nick