I'm trying to develop a business directory like yelp. if a user chooses a state EX; New York, then they could select any category they wanted about NY like Restaurants, Bars, Shopping. And if they wanted to look in Connecticut, all those categories should be about CT listings, and so on.

What is the theory about this? Is it developed using sessions? I appreciate any clue you provide,

Thanks