Try the fastest and simplest way to install ONLYOFFICE

How to drop session?

Suggestions on Document Server Installation/Functionality

How to drop session?

Postby globber » Tue Feb 27, 2018 9:35 am

Hi there,
from time to time we have sessions that have timed out and the users get an error warning that they "cannot save the file". Mostly because they had let the session opened too long, over night, for example.

How (and where) can I kill these sessions explicitely?

I see these sessions in my PowerFolder log file and also as a session within my database, which ist the backend for Powerfolder.

Best regards
Best regards

ONLYOFFICE integrated Document Server

Architecture: amd64
Version: 4.3.3-4
Posts: 13
Joined: Thu Apr 06, 2017 12:39 pm

Re: How to drop session?

Postby Maxim » Thu Mar 01, 2018 9:14 am

Hello globber!
How (and where) can I kill these sessions explicitely?

No, but you can configure default.json - parameters "sessionidle" and "sessionabsolute"
"sessionidle": "0", - is responsible for closing for inactivity, "1h" "1d"
"sessionabsolute": "0", - is responsible for unconditionally closing the connection after a certain time, "30d"
Also you can close session using "DROP" parameter but to do this you need to know key and userId
Posts: 1747
Joined: Tue Oct 11, 2016 2:34 pm

Return to Document Server

Who is online

Users browsing this forum: No registered users and 1 guest