You could randomly select a page in the Javascript but if you want to actually guarantee that it's a different page then you need to create a SESSION so that you can recognize the same visitor again and send them to a different place. As you tagged this PHP, you could do something like this:
<?php
$urls = array(
'http://google.com',
'http://yahoo.com',
'http://bing.com');
session_start();
if(!isset($_SESSION['urlNumber'])) {
$_SESSION['urlNumber'] = 0;
} else {
$_SESSION['urlNumber']++;
}
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=<?php echo($urls[$_SESSION['urlNumber']]); ?>" />
</head>
<body>
</body>
</html>
What this does is start a session for each visitor and keep track of which URLs they have gone through by incrementing the session variable on each subsequent visit.
Note, it's not a very good approach. You'd be better sending a HTTP_REDIRECT response from the server. Also, it will break after three URLs because it's run out. You'd want to put a little code in there to reset it back to 0 once it reached the maximum URLs. But that is in line with your approach that you wanted to use.