Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is a plain copy/paste job of the README file from the restws_basic_auth submodule of the RESTful Web Services for Drupal (restws) module.
version 7.x-2.x
--------------------------------------------------------------------------------
HTTP Basic Authentication for RESTful Web Services
--------------------------------------------------------------------------------
In Drupal 7 there is a function drupal_session_destroy_uid that helps the developer to force a specific user's session(s) to be destroyed and logged out.
When we are upgrading PHP version or switching from one hosting to another hosting provider, we may need to check the PHP version compatibility. We can check the compatibility with PHP codesniffer. It will provide you the warnings or errors while checking the compatibility. Below document will help us to do the compatibility check.