The cards are determined by a random number generator, based on the current time, at each stage - flop, turn and river. Which means that the cards are, effectively, being constantly "shuffled".
The "online poker is rigged" brigade claim otherwise, however.