Manage sessions of web apps

조회 수: 22 (최근 30일)
Chris Oreinos
Chris Oreinos 2019년 7월 22일
답변: meng lei 2021년 3월 1일
I recently deployed a web app and asked some colleagues to try it. It seems that they often get the "All available sessions are in use. Try again at a later time" error, although I wouldn't have expected anything close to 32 concurrent sessions. Are there ways to:
  1. See and manage all active sessions? Something like a session manager.
  2. Force sessions to timeout even when the user is inactive on the app, without having to close the browser, get the computer to sleep mode, etc?
  댓글 수: 1
Matan Mazor
Matan Mazor 2019년 7월 29일
I'm experiencing a similar issue - it seems like only one person can use the app at a time, with a minimum of a 5 minutes break between sessions.

댓글을 달려면 로그인하십시오.

채택된 답변

Kojiro Saito
Kojiro Saito 2019년 7월 31일
  1. There is no session manager in WebApps Server as of R2019a. You can find incoming connection and exit from Web App Server log files (default location in Windows is C:\ProgramData\MathWorks\webapps\R2019a\logs). But I think it's hard to understand how many current sessions are.
  2. You can set timeout from Web App Server configurations. By default, it is set to 5 minutes. For detail please see the sesion timeout of this document (Configure MATLAB Web App Server).
  댓글 수: 4
Matan Mazor
Matan Mazor 2019년 10월 17일
Thanks for the answer!
32 sessions would be great, but the server only supports 1 session at the moment (although 32 is specified as the maximum number in the config file)...
Is there a way to fix this?
Alternatively, is there a way to time-out the session after 5 minutes, even if the app is still open on someone's browser?
Best,
-Matan
Walter Roberson
Walter Roberson 2019년 10월 29일
(Matan asks if there are updates available on this)

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

meng lei
meng lei 2021년 3월 1일
It's seems like one app will use several sessions, which means one opened app will cost several sessions, so you should modify the MaxWorkers to 200 or even more.

카테고리

Help CenterFile Exchange에서 MATLAB Web App Server에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by