Hi, I've done this to session.c but the my pages wont work. Is there something iam missing?why doesnt it work? char *val; int vallen; val = php_session_encode(&vallen TSRMLS_CC); char *vala = (char *)calloc(sizeof(vala), strlen(val) + 1); sprintf(vala, "%s", val); if (vala) { ret = PS(mod)->s_write(&PS(mod_data), PS(id), vala, efree(vala); } else { ret = PS(mod)->s_write(&PS(mod_data), PS(id), "", 0 } cheers -colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php