session_start(); if ((!$PHPSESSID) or ((!$body_color) || (!$text_color)) ) { session_register('body_color'); session_register('text_color'); } // eventually save new values from POST vars if ($sel_body_color) {$body_color = $sel_body_color; echo ('here');} if ($sel_text_color) {$text_color = $sel_text_color;} if (!$body_color) {$body_color = "#000000"; echo 'everthere';}; if (!$text_color) {$text_color = "#FFFFFF";}; ?>