Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Define the cookie path in config.ini.php, or in global.ini.php #1155

anonymous-piwik-user opened this Issue · 2 comments

3 participants


As reported in the forum:, I am asking for a new feature that I can customize the cookie path, it can be in config.ini.php or in global.ini.php:

; login cookie name
login_cookie_name = piwik_auth

; login cookie expiration (30 days)
login_cookie_expire = 2592000

; login cookie path
login_cookie_path = /

By default, the piwik cookie is in "/piwik/" if I install it to /piwik folder. And there is no way for my app to read its cookie since the path is different (in this case my app is installed under /myapp/). It is very convenient for me to change it to "/" so that the cookie is accessible to all apps under the same domain.


Default behaviour should be the current, more restrictive behaviour, for backward compatibility and handling cases like vs


(In [1927]) Fixes #1155 Cookie path can now be defined in config file

@anonymous-piwik-user anonymous-piwik-user added this to the Piwik 0.5.5 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.