  We study the cohomological rigidity problem of two families of manifolds with
torus actions: the so-called moment-angle manifolds, whose study is linked with
combinatorial geometry and combinatorial commutative algebra; and topological
toric manifolds, which can be seen as topological generalizations of toric
varieties. These two families are related by the fact that a topological toric
manifold is the quotient of a moment-angle manifold by a subtorus action.
  In this paper, we prove that when a simplicial sphere satisfies some
combinatorial condition, the corresponding moment-angle manifold and
topological toric manifolds are cohomological rigid, i.e. their homeomorphism
classes in their own families are determined by their cohomology rings. Our
main strategy is to show that the combinatorial types of these simplicial
spheres (or more generally, the Gorenstein$^*$ complexes in this class) are
determined by the $\mathrm{Tor}$-algebras of their face rings. This is a
solution to a classical problem (sometimes know as the $B$-rigidity problem) in
combinatorial commutative algebra for a class of Gorenstein$^*$ complexes in
all dimensions $\geqslant 2$.
