JONES BEAH, N.Y. (CBS 2) — Thousands of people jammed Long Island’s South Shore, hoping cool breezes and ocean waters would save them from the sweltering temperatures.

However, some beaches were closed, and safety was a concern, reports CBS 2’s Jennifer McLogan.

READ MORE: Vaccine Mandates For NYC Teachers, State Health Care Workers Head To Court

Queens residents Michael and Leah Sadowsky went to long beach, desperately seeking relief from the blistering heat. They were shocked to discover empty lifeguard chairs and a swimming ban.

“It’s really hot. Everybody wants to go in water to cool off, but they can’t, there’s no lifeguards,” Leah Sadowsky said.

Village, town, city, county and state beaches on Long Island observe staggered summer openings – some beaches open on Memorial Day, while others are open on weekends only until July 4.

The swimming ban provided a tough temptation on a very hot Wednesday afternoon.

“We’ll try to observe the safety laws and regulations,” Michael Sadowsky said.

Those safety laws are often a matter of life and death. Last June, a student from Harlem died when she and her schoolmates broke the rules and went in the water with no lifeguards on duty.

“When the 12-year-old girl drowned here last year on a class trip, I really said ‘enough is enough,’” Long Beach city manager Charles Theofan said. “We have to be proactive.”

READ MORE: $432M Winning Mega Millions Ticket Sold At Manhattan Pizza Shop

The city of Long Beach said they’re now distributing a PSA across the metro area, in hopes that it can save swimmers.

Five miles away, Jones Beach was fully staffed, as it will be until Labor Day. Thousands of beachgoers jammed the shoreline.

Many swam near the captain of the Jones Beach lifeguards, between the flags.

“I’m worried about the rip currents,” one swimmer said.

Cold water creates cramps, and shallow water diving can break a neck. Rip currents are among lifeguards’ biggest safety concerns.

“Swim parallel to the beach,” Jones Beach lifeguard captain Ed Peters said. “The important thing is to just hang in there, and don’t panic when your feet don’t touch the sand.”

Officials said it’s important to swim within sight of lifeguards who can spot trouble – and save lifes.

MORE NEWS: Actor Willie Garson, Best Known For 'Sex And The City,' Dies At 57

In the wake of last year’s Long Beach drowning, New York City Schools Chancellor Dennis Walcott signed and emergency order expanding field trip supervision and swimming guidelines on Wednesday.

Jennifer McLogan