This issue has been created
There are 4 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-f20f92f0-7f23-42e5-bcf0-d7780d3188ad XWIKI-23586 Open

Users are logged out after the server session expires even if the "Remember Me" option is ticked

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-a88c54c8-1481-4325-aa70-2d606d2d4fa4 Ilie Andriuta created this issue on 09/Oct/25 15:04
 
Summary: Users are logged out after the server session expires even if the "Remember Me" option is ticked
Issue Type: cid:jira-generated-image-avatar-f20f92f0-7f23-42e5-bcf0-d7780d3188ad Bug
Affects Versions: 17.4.4
Assignee: Unassigned
Attachments: user_after_login.png, user_after_session_expired.png
Components: User
Created: 09/Oct/25 15:04
Environment: Windows 11 Pro, Edge 140, using an instance of XWiki 17.4.5 on Oracle 19c, Tomcat 11.0.11
Priority: cid:jira-generated-image-static-blocker-948e3f40-332d-4386-b9be-cc3e20ab3e00 Blocker
Reporter: Ilie Andriuta
Description:

Steps to reproduce

  1. Go to the servlet config files and set a short session timeout (for the test purpose, e.g. on Tomcat go to <server path>/conf/web.xml and set <session-timeout>1</session-timeout> in order for the session to expire after 1 minute)
  2.  Start XWiki instance
  3. Clear cache and all cookies (to make sure they don't have any impact)
  4. Click 'Log-in'
  5. Fill the username and password of an user/Admin, and tick "Remember me" option
  6. Wait until the session timeout expires and refresh the page
  7. Observe the state of the user

Expected results

The user is still logged in, since the "Remember me" option was checked at login.

Actual results

The user is logged out.

I could reproduce the issue as well on XWiki 17.8.0, but it couldn't be reproduced on my side on XWiki 16.10.9 (here I reproduced a different behavior: the user remains logged in regardless if the session timeout expires even if "Remember me" is not ticked).

 
 

4 updates

 
cid:jira-generated-image-avatar-a88c54c8-1481-4325-aa70-2d606d2d4fa4 Changes by Ilie Andriuta on 09/Oct/25 15:05
 
Fix Version: 17.9.0-rc-1
Fix Version: 17.4.6
Version: 17.8.0
Labels: regression