Hi Chris, interesting problem...
Drupal describes this field as "The serialized contents of $_SESSION, an array of name/value pairs that persists across page requests by this session ID. Drupal loads $_SESSION from here at the start of each request and saves it at the end.'" after tracing through the code, the key php function which gets called here is session_set_save_handler. Reading some of the notes at http://us.php.net/manual/en/function.session-set-save-handler.php indicates that php-|suhosin has this kind of problem. Are you running this by any chance? Aaron |Chris Burgess wrote: > We're using Drupal on a number of sites. On all but one server, the > data in the sessions table appears as a serialised string. This is > normal behaviour AFAIK. > > Here's an example session entry from site A - this is what I'd like to > see: > > captcha|a:1:{s:12:"comment_form";a:3:{s: > 32:"5ce32afb28f38e2ec854eb2f9340e2e5";b:1;s:7:"success";b:0;s: > 32:"ba52f551aa38e84111938ef9fc2111e4";b:1;}} > > And here's one from site B, with the "encoded" session data: > > tYeyamtSbI6U_Z5a0DXCwL1pwoY5DUBDNOTDjyftul9Z4TLMMDdVr_8HxPWTleQ8wrTIEPyRAdxb6Ukz69tSEQ.. > > The encoded values always end with a period (often two). I don't > recognise the encoding method. > > Is it the result of PHP's session.serialize_handler configuration > seting? I've tried setting ini_set('session.serialize_handler') to > 'php' and 'php_binary', but didn't see any change in format when the > sessions were written to the DB. > > My aim is to make site B store sessions in a format matching site A. > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.339 / Virus Database: 270.12.74/2181 - Release Date: 06/16/09 > 17:55:00 > > --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
