Hi,

Thanks for this module, I would like to report an issue, this module left tons of entries in sessions table,
For every API call a new session is created and left in sessions table.

Comments

markpavlitski’s picture

Version: 7.x-1.x-dev » 7.x-1.3
Status: Active » Closed (works as designed)

Basic authentication is essentially a stateless authentication mechanism, so the service provider would expect to receive the authorisation credentials for every request.

Combined with the way authentication takes place in Services module, this module needs to create a 'fresh' user login for every request.

So, although not ideal, it will end up with a new session entry per request, though these should be dealt with by Drupal's session garbage collection.

markpavlitski’s picture

Component: Code » Documentation
Status: Closed (works as designed) » Fixed

On second though, I've added a note on the project page which recommends using Session Expire module to limit this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

markpavlitski’s picture