Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Changing user_login ends current session

I can be wrong, but I almost sure is not an issue: the cookie is based on user login, changing it the cookie is not valid anymore.

If I’m right, is not possible kick out this behaviour, but if you want you can auto re-login the user after the update using wp_signon function.

Related Posts:

  1. Allow up to 5 Concurrent Login Sessions
  2. add class to element if user is not logged in [closed]
  3. Restricting wordpress login sessions for a web app
  4. determine active user browser at the same time
  5. Replacing the WordPress password validation
  6. Ban a user and end their session
  7. WordPress auto login after registration not working
  8. Why does is_user_logged_in() return false after redirect from another site?
  9. Pre-populate Username Field
  10. How to keep track of user logins?
  11. Get user info outside WordPress
  12. How can I secure a WordPress blog using OpenID from a single provider?
  13. Is it possible to get a user with just the password field?
  14. Redirect after login based on user role (custom login page)
  15. Check for user meta data at Login
  16. Redirect User to Homepage if no other redirect is specified
  17. My custom page template with is_user_logged_in() does not detect that I’m logged in
  18. Use phpbb user database for WordPress
  19. WordPress to use Drupal users’ credentials
  20. Share user table from WP with Drupal
  21. How can I allow password reset based on logins containing the @ character?
  22. A way to count logged in users and display count?
  23. stop login if user_status equal zero
  24. How do i make my wordpress website private?
  25. Redirect user to login before viewing custom post
  26. Change the user_login at registration
  27. Max no of simultaneous active sessions for a single user
  28. When I try to login in wordpress it is showing “USER Doesn’t Exists”
  29. Should I encrypt the response that triggers an Ajax action? Is nonce sufficient?
  30. Redirect subscribers to last viewed page after log-in
  31. wordpress disable login for unverified user
  32. Reset Password policy
  33. Rewrite Rules and Login Issue
  34. Is possible to allow user to login with different role?
  35. Use WordPress Login for a non-wordpress site
  36. WordPress Login Customization for External Authentication
  37. Does wordpress support natively the concept of logging-in users? (not admins, but users of the website)
  38. Is there any action /filter hook I can use to disable login for some user role?
  39. How to check User Role and redirect to specific page according to Role when login in WordPress?
  40. Display video on homepage for users who have not logged in
  41. How do you manage your pages or functions that require logged-in users?
  42. How can i login with user’s password in WordPress being an admin?
  43. Delete a user from frontend
  44. Check if user is logged in via JS? [duplicate]
  45. Use members from 1 site on another one
  46. Can I edit the database to change a login?
  47. how redirect users to custom login page when “login to reply” is clicked? [duplicate]
  48. User(s) already exists show error please provide a valid username
  49. wp_generate_password sets password but can’t login using created password
  50. Is there a way to call via javascript if a user is logged-in on a static html file?
  51. How to connect wordpress user with my own APP user?
  52. How to change default username field after login
  53. Login issue with subdomain installs
  54. The same session information for peer users on two different WordPress servers
  55. WP users cant reset password
  56. Check for empty username or password on login
  57. How to destroy all user sessions via WP-CLI
  58. $user_login is not working if author has only 1 post
  59. Specific Content on pages based on user
  60. user and usermeta table not found
  61. custom login form, guide me
  62. Current User Seeing Another Logged In User Info
  63. Redirect based on log-in status per JavaScript
  64. Securely log in a user without a password using a link?
  65. Integrating Facebook Registration (and Login) on a WordPress page
  66. WordPress – Security Question at Login from User’s Meta Data
  67. How to track all users logged into a site?
  68. Cant edit profile from frontend
  69. How to authenticate/verify login credentials & check for user meta without logging in?
  70. Recognize logged WP user in existing REST API
  71. Will users still be able to log in if I change host?
  72. redirect to my login page if not logged in
  73. If the current user is an administrator or editor
  74. Editor can create any new user except administrator
  75. How do I add a field on the Users profile? For example, country, age etc
  76. How do I display logged-in username IF logged-in?
  77. How to allow an user role to create a new user under a role which lower than his level only?
  78. user_login vs. user_nicename
  79. How to programatically change username (user_login)?
  80. Change the Author Slug from Username to Nickname
  81. Remove Ability for Other Users to View Administrator in User List?
  82. Preventing session timeout
  83. Difference between update_user_meta and update_user_option
  84. Make display name unique
  85. Make WooCommerce pages accessible for logged in users only
  86. Find out if logged in user is not subscriber
  87. How reduce wordpress login session timeout time?
  88. WordPress usermeta scaling for thousands of users
  89. How to get WordPress Username in Array format
  90. Display user registration date
  91. Is there a is_user_logged_in() for multisite?
  92. Get multiple roles with get_users
  93. get_user_meta() doesn’t include user email?
  94. Confirmation required on email change
  95. Removing username from the ‘wordpress_logged_in’ cookie
  96. How to Merge Two Authors Into One?
  97. Whats the best way to share user data across multiple WordPress websites?
  98. get_current_user_id() returns 0?
  99. How to get userid at wp_logout action hook?
  100. Groups of capabilities: users with multiple roles?
Categories users Tags login, session, users
Shortcode for sectors
How to get all the terms of a post

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress