OK! I got it to work. Although session_id() would not work, using the SID constant did. Below is the code I used:
===== Start of Code ===== <?php session_start(); header("Cache-control: private"); //IE 6 Fix if(!$_SESSION['count']){ $_SESSION['count'] = 1; echo '<p>First time through</p>'; } else { $_SESSION['count']++; } ?> <p>You have visited <? echo $_SESSION['count']; ?> pages so far!</p> <A HREF="test.php?<?php echo SID?>">Increment Your Counter!</A>====== End of Code ====== -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php