phpwordpresssessionsuhosin

How to share sessions between two sites when suhosin is enabled?


Recently our client migrated to server with suhosin enabled. Till then we were using session sharing to switch between wp and our custom cms. Now the session details are saved in DB after encryption. After pulling out the hair for one day we found that Suhosin is the culprit in the new server for this. Is there any way to read the session datas from the suhosin values?


Solution

  • You cant decrypt suhosin session details. It better to change the authentication method. Disabling suhosin is a compromising on the security.