US News

Tony Parker’s computer error bared his ‘affair’

Eva Longoria’s marriage to basketball star Tony Parker ended when he forgot to click the “log off” button.

Parker reportedly kept a secret file on his computer that contained information about Erin Barry, his alleged paramour who is married to one of his former teammates on the San Antonio Spurs.

The “Desperate Housewives” star found the stash of damaging data one day after Parker forgot to close the program on the family’s computer, according to Radar Online.com.

This is how she discovered the cheating — and she was furious.

PHOTOS: EVA LONGORIA

“It was a double shot for her, because not only did she find all the information, but Eva also realized im mediately that Tony had taken steps to hide it from her,” an insider told the celebrity-news site.

“The fact that Tony had been hiding Erin’s information and their correspondence made Eva feel like he had been lying to her for months, and, basically, he had been.”

The computer file — which normally only Parker could access — contained Barry’s phone number, which led Longoria to uncover the sexy text messages he had allegedly been sending her.

The couple was already headed for divorce, but the discovery ended any chance they had of saving the marriage, Radar reported.

“They have a long-distance marriage, and that alone is not easy,” the source told the site. “There was already a lot of stress between them. But then when Eva discovered Tony had taken elaborate measures to lie to her, she knew it was over.”

Barry, who no longer has a relationship with Parker, is splitting from her own husband, Brent Barry.

Meanwhile, Longoria returned to the set of “Desperate Housewives” yesterday for the first time since news of her divorce broke.

She reportedly found comfort with her co-stars.