Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
anonymous-piwik-user opened this Issue · 2 comments

3 participants

@anonymous-piwik-user

As reported in the forum: http://forum.piwik.org/index.php?showtopic=5141, 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.

@robocoder
Collaborator

Default behaviour should be the current, more restrictive behaviour, for backward compatibility and handling cases like www.example.com/~user1 vs www.example.com/~user2

@mattab
Owner

(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.