Female, mid 50s, and yes. In my first high school, I was forced to take some classes and not allowed to take other classes because I was a girl. For instance, I had to take home ec instead of a second year of science.
I had an employer refuse to hire me because he wanted someone to work the graveyard shift, and he didn't want to hire females for that shift. I had other employers who didn't promote females into certain positions.
When I was young and looking for a job, it was common practice for the help wanted ads to be separated into two sections: "Help Wanted: Male" and "Help Wanted: Female". And this was legal back then.