Changes to get cookie-free session.
Serialize data properly, use session_id from object.