Menu
Hi!
I create a session variable with a value into one HTML-page and then I want to open another HTML-page, but despite that I can’t get any value from the variable? I have use this code so far:
$control_status = “OK”;
session_register (“control”);
$HTTP_SESSION_VARS [“control”] = $control_status;
or
session_register (“test”);
$test = “Status OK”;
And together with this code before the start of the HTML code:
<?php
session_start();
?>
Must the the register_globals have to be on to use session variable?
I appreciate som help to create the best PHP-code. Thanks! ?