SetCookieParams
This wordpress plugin allows you to change cookies (path, domain, »cookieHash ») parameters used by WordPress.
3 parameters are configurable for 3 fonctions:
- the cookie path : if you set to « / », it allows you to share wordpress cookies with other directories that http://www.yourdomain.com/wordpress
- the cookie domain : if you want to share cookies with subdomains, set it to « .yourdomain.com ».
- cookieHash : wordpress append its cookies name with this cookieHash (ex : wordpressuser_d12345674896fe515e5b1ea15e7192e3 or wordpressuser_cookieHash)
If you know what you are doing, do it 🙂
Very easy install, just follow normal plugin activation process:
- download it
- put it in your « plugins » directory
- active it in « plugins » administration panel
- go in the « Options->setCookie » administration panel and set cookie parameter as you want
If you have questions, please ask them in the dedicated forum.
FAQ : I activated the plugin and set cookiePath to « / ». Why does it does not word at all ?!
This plugin define the « wp_setcookie » function. But some other plugins defines it also …. That’s why I named the file _setCookieParams (with the leading underscore « _ »). Because wordpress loads plugins in alphabetic order, so « _set… » will be loaded first, except if you have another plugin beginning with « _ ».
avril 6th, 200716h18 at
[…] SetCookieParams […]
mai 20th, 20078h59 at
[…] Visit […]