@bufferoverflowed wrote:
I am making a plugin that needs a session variable. It is all on the same server and same domain, however I get different session variables in Piwik than I do in let's say /test.php at the root. I can get and set session variables fine in both and they stay, however they are separate, confirmed by var_dump($_SESSION).
I have ensured session ID remains the same between pages and plugins. I also tried setting the variable by posting to the plugin API feature and got that "working" however it sets the variable for the wrong session (as I should have guessed).
How can I set a session variable from /test.php and have it save in Piwik's session when I take the user back to the dashboard?
Posts: 1
Participants: 1