Hi,
I’ve developed a module for EE 2.x which has been working great. We use the current user’s session id to track a shopping cart for them but are finding that for a minority of users their session_id is reported as empty. The code I’m using to get the session ID is
$this->EE->session->userdata['session_id']For certain users this is empty. All users are authenticated so are logged in prior to this code being fired.
Can you explain why this might be?
Thanks
James
The rest of the data appears to be complete but session_id is actually 0 rather than NULL. Unfortunately I can’t do a var_dump as I can’t reproduce it locally, only on our live site.
I’ve also logged this as a bug (https://support.ellislab.com/bugs/detail/14465/) and made the change suggested there but to no avail.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.