Ticket #246 (closed Bug: fixed)

Opened 4 months ago

Last modified 3 months ago

session_start() called even if session already started

Reported by: meglio Assigned to:
Priority: critical Milestone: RobotRock
Component: Core Version:
Keywords: session Cc:

Description

session_start() called even if session already started in index.php.

I have fixed it temporary with the following code:

if (session_id() == '')
	session_start();

If you start session in any case - this causes problem for users which are calling piwik from within their PHP with session already started.

Change History

06/30/08 00:05:21 changed by matt

  • status changed from new to closed.
  • resolution set to fixed.

(In [539]) - fix #246 session_start() called even if session already started

06/30/08 00:05:31 changed by matt

  • milestone set to RobotRock.