janhenkes / teamleader-php-sdk

Teamleader API v2 PHP SDK
MIT License
16 stars 25 forks source link

DefaultCacheHandler shares state with every site on the server #66

Open martinpl opened 4 months ago

martinpl commented 4 months ago

Hello,

I found the issue where i had two sites on one cPanel account (test and production). Issue is that they share same tmp location which leads to some overrides between sites data. Solutions is implementing own CacheHandler but maybe more people will stumble on that issue.

Thanks for your package! :)

janhenkes commented 4 months ago

Hi @martinpl, thanks for your feedback, allthough the DefaultCacheHandler is provided it is recommended to build one yourself. For example you can save the credentials in a database. But I think it is worth noting this in the readme.