Sacha is right, but ALT+Select, can also Select Boundary Edge Loops, like here (Default Cube, top Face Deleted):

Terminology: a Boundary Edge, is an Edge that is connected to exactly 1 Face.
Maybe that’s where you get confused and say: it worked before.