public static function wrapped_session_put(&$session_object,$key,$value)
    {
        global $TSUGI_SESSION_OBJECT;
        if ( $session_object === null && isset($TSUGI_SESSION_OBJECT) ) $session_object = $TSUGI_SESSION_OBJECT;
        if ( is_object($session_object) ) {
            $session_object->put($key,$value);
            return;
        }
        if ( is_array($session_object) ) {
            $session_object[$key] = $value;
            return;
        }
        if ( isset($_SESSION) ) $_SESSION[$key] = $value;
    }