Gruyère works well in this recipe as it has a lovely melting quality, but you can use another cheese if preferred.
Put all the sandwich filling ingredients (except the cream) into a food processor and blend until smooth (the mixtuer should spread easily, but add a little cream if needed.)
Cover four slices of bread with a thin layer of cheese mixture almost to the edge, place a slice of ham over that and then finally place another slice of bread on to the ham. Press down firmly and then repeat the process for the second sandwich. Cut off the crusts and liberally brush (or spray) each side of the sandwiches with olive oil.
Cut each sandwich in half to give four rectangles. Heat a large, non-stick frying pan until medium-hot and fry the sandwiches in the dry pan until gorgeously golden-brown and crusted on each side - about two minutes per side.
Type the ingredients you want to use, then click Go. For better results you can use quotation marks around phrases (e.g. "chicken breast"). Alternatively you can search by chef, programme, cuisine, diet, or dish (e.g. Lasagne).