Hello All, I, having problems getting HTTP_SESSION_VARS to work the way I think they should. Shouldn't I just be able to do something like:
in a file called index.php I have the following; <?php session_start(); ?> <html> <head></head> <body> The session_id is <?php echo "\"".session_id()."\""; ?> <a href="index2.php">Next</a> <?php $HTTP_SESSION_VARS['count']=123; ?> </body> </html> In index2.php I then have <?php session_start(); ?> <html> <head></head> <body> The session_id is <?php echo "\"".session_id()."\""; ?> <?php echo "\$HTTP_SESSION_VARS['count']=".$HTTP_SESSION_VARS['count'].".<BR>"; ?> </body> </html> Now when I go to the first one all is great and the session id is shown. But when I click on the "Next" link I get the next page with the same session id shown (all well and good) but no value in $HTTP_SESSION_VARS['count']!!! Where am I going wrong? Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php