Bump Dot Net For the People

OK, is it correct to place one or two spaces after the period at the end of a sentence. I learned to put two spaces as a kid, but now I am told that it is correct to put one space in the era of computer typography.