Board logs out automatically when inactive

Oliver Röll
Oliver Röll Customer
Fourth Anniversary First Comment Photogenic
edited September 9 in Platform

Hi,

we are using Board version 12.6, revision 0.2.88217.
Board does not run in the cloud, but on our own server. We use IIS.

The following is stored in C:\Program Files\Board\Board Server\BoardEngineParams.xml:

<EnableSessionExpiration>false</EnableSessionExpiration>
<SessionExpirationTimeout>3600</SessionExpirationTimeout>

This setting should ensure that Board-sessions are not automatically logged out.

However, in Chrome we have the problem that Board-sessions are automatically logged out when inactive. I don't have this problem in Firefox, but in Chrome I am logged out after an hour at the latest if I don't do anything in Board. It is possible that the session is logged out earlier, but after one hour you are logged out in any case.

I have already tried to enter the board URL in Chrome under "Always keep these websites active", but that didn't help.

Have any of you ever had the problem of being logged out of Board even though the EnableSessionExpiration is set to false?

Board users are of course now complaining that they always get kicked out of Board.

The appSettings.config looks like this:

<appSettings>
<add key="host" value="https://boardserver.xxx.xxxxx:443/" />
<add key="acceptedRedirectUris" value="http://boardserver.xxx.xxxxx/Callback.html,http://boardserver.xxx.xxxxx/SilentRefreshFrame.html" />

Is that correct, or do I need to adjust something here?

Do I also have to set https for acceptedRedirectUris?

Kind regards

Oliver

Answers

  • Florian Deutsch
    Florian Deutsch Active Partner
    Fourth Anniversary 25 Up Votes 10 Comments Board Developer

    I've encountered the same issue after upgrading from 12.5.

    Resolution was to explicitly set the Board URL in my IIS site binding:

  • Thanks for the tip, but we have already configured this.

  • Florian Deutsch
    Florian Deutsch Active Partner
    Fourth Anniversary 25 Up Votes 10 Comments Board Developer

    Is this the only binding for this site? I have also had issues when the site had more than one binding.

    If not, perhaps Board*.log (App_Data\log) may give you more information.

    There was a Bugfix/Patch release in 08/2023 regarding timeouts as well. I'm not sure about the version number back then but maybe your version is older than that and does not contain the bugfix?

  • Yes, this is the only binding for the Board website.

    We installed the last update at the end of October 2023. The bugfix from August 2023 should therefore have been installed.

  • Hi,

    Any suggestion on this as our user experienced random logs offs as well.

    They were using Edge.

    Checked our setting as well no timeout enabled and only one site bind.

  • Timur I
    Timur I Active Partner
    Second Anniversary Board Developer Name Dropper First Comment

    Hi all,

    We have the same problem on-premise 14 version. Please help.

  • Helmut Heimann
    Helmut Heimann Employee, Community Captain
    50 Answers 500 Comments 250 Likes Fourth Anniversary

    Hi @Timur I ,

    that should have been fixed with the October patch:

    If you're using an older release, please upgrade. If you're using the same or newer, please open a ticket with our support.

    Best,
    Helmut

  • Timur I
    Timur I Active Partner
    Second Anniversary Board Developer Name Dropper First Comment

    Thank you. We have version 14.1.0.1.223765.

    We also noticed that changing <LockWriteTimeoutSecs>600</LockWriteTimeoutSecs> in BoardEngineParams to bigger value solves the problem.

  • We fixed this issue by updating our browser settings. In Edge, go to Settings → System and Performance, and then scroll down to the "Never Put These Sites To Sleep" and add your https://etc, etc. Then the inactive tabs don't disconnect, causing a boot to the other screens.

    Same worked in Chrome for other users, I assume other browsers the same.