fix of #115, server relater config value added

have decided to add settings to handle session timeout on server side, even if it may cause some problems.