I thought I was the only one with that issue.
Plugin Author
Paul
(@paultgoodchild)
You’re probably using SmushIt or EWWW. This conflicts with the User Management setting that restricts logged-in users to a single IP address. Try turning this off and testing it..
Hi Paul,
Hi use Imagify. I turned off the option Locks A User Session To IP address and resolved the issue.
Thank you,
Miguel
Plugin Author
Paul
(@paultgoodchild)
Great! Thanks for reporting back.
I use Imagify as well, so it explains my problem.
But what if I would like to keep the user session lock activated? and use Imagify?
Could you deactivate the session lock for image upload only?
Plugin Author
Paul
(@paultgoodchild)
hehe if only it were that simple. Unfortunately it goes beyond just the one plugin…
The technique they are using is sending a separate request with the same user session to WordPress and this is what is causing the problem – as 2x separate IPs are attempting to use the same “session”.
There is no simple method to deactivate the session lock for very specific requests from particular plugins.
An alternative you could try is extending your IP lock limit to greater than 1 and that should prevent your session being broken.
The ideal scenario is that the plugin developers wouldn’t require and use sessions to run this image processing… but since there are several plugins that all extend the original that operates like this, this is probably not likely to change.
Ok, another suggestion.
how about allowing multiple sessions for admin (is_admin())
or allow multiple sessions for specific user roles?
As you wrote the plugin developers may not change how their plugin use sessions, perhaps it is the only way possible for them (don’t know) so if that is the real world situation, then how can you have multiple session lock activated but still allow image optimization?
The world is complicated..