os-js / osjs-server

OS.js Server Module
https://manual.os-js.org
Other
19 stars 21 forks source link

Browser tabs issue #82

Closed maryam4s26 closed 10 months ago

maryam4s26 commented 10 months ago

Hello @andersevenrud . Suppose a user logs in in a browser tab and the user's cookie is saved and reconnected to osjs in another tab, why all the login operations are done again. This is also seen in refreshing the browser tab. When we refresh a tab without any logout operation, the login operation is performed again.

andersevenrud commented 10 months ago

You can enable the following setting to remember the cookie: https://github.com/os-js/osjs-client/blob/master/src/config.js#L155

More information: https://github.com/os-js/OS.js/issues/761