Sarah Michelle GellarandJerry O’Connellgo “way back.”

During Gellar’s appearance onThe TalkThursday, O’Connell, 47, and the actress, 44, discussed their long history with one another, revealing that they went to the same high school and later dated one another.

“Apparently, you went to the same high school in New York, you were costars inScream 2and even dated for a bit,” co-hostAmanda Klootssaid. “Now, we’ve all seen the friendly, energetic energy that Jerry is now but we can’t even imagine, Sarah — what was he like in the 90s?”

Gellar, in turn, said thatThe Talkcast is “getting the more subdued, calmed down” version of the newest co-host.

“You’re getting the more mature, fatherly Jerry. The ‘lessons learned’ Jerry,” she continued. “I had the actual energetic Jerry.”

The formerScream 2costars attended the Professional Children’s School in New York.

“I was a freshman, he was a senior. He never acknowledged me,” Gellar recalled of their time in school before directing her attention to O’Connell, “You never acknowledged me in school. It was only later that you would actually talk to me.”

Jeff Kravitz/FilmMagic

Sarah Michelle Gellar; Jerry O’Connell

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

“By the way, this is not a filter. You have never seen me blush as much as I have on this show [today],” he said before telling Gellar, “You look beautiful. I’m so happy for you.”

Though Gellar and O’Connell didn’t confirm the duration of their relationship, they were previously photographed attending the 1998Emmy Awardstogether. At the time, Gellar was 21 and starring inBuffy the Vampire Slayerwhile O’Connell was 24 and starringSliders.

Jon Kopaloff/Getty Images; Jim Spellman/Getty Images

Sarah Michelle Gellar; Jerry O’Connell

Now, Gellar is married to frequent costarFreddie Prinze Jr. The longtime pair, who wed in 2002, are parents to daughter Charlotte Grace, 11, and son Rocky James, 8.

O’Connell, meanwhile, has been married toRebecca Romijnsince 2007. They share12-year-old twin daughtersDolly Rebecca Rose and Charlie Tamara Tulip.

source: people.com