bednee / cooluri

GIT repository for TYPO3 extension CoolUri
7 stars 12 forks source link

session_start() really necessary? #44

Open gulaschskanone opened 8 years ago

gulaschskanone commented 8 years ago

Hi, is there a way without session_start() for ordinary visitors of the sites? My question is motivated by the EU law about placement of cookies and user notices. We would prefer to prevent placing cookies, if it's not really necessary.

Kind regards

bednee commented 8 years ago

Hi, it's for performance reason. It would be a performace impact to parse XML again and again. Is the consent required for every single cookie? Isn't it just for cookies that track and monitor your doing? You can try to disable the cache by amending the code to see how big impact that is. I guess it could be parametrised or the parsed XML could be stored in some memory storage.

gulaschskanone commented 8 years ago

Hi bednee, thanks for your fast response. I think you're right: it's target just cookies that track and monitor your doing. But a visitor (not least myself before) can't guess what the cookie is used for. If it's possible, we would like to disable that.