I am setting a PHP session with the following code:
PHP Code:
[s][s][s][s][s][s][s][s]session_start();[/s][/s][/s][/s][/s][/s][/s][/s]
[s][s][s][s][s][s][s][s]$_SESSION["lang"] = "de";[/s][/s][/s][/s][/s][/s][/s][/s]
This is set on a page called "index.php", on "index.php" there is a link to "contact.php". On "contact.php" I am checking for the session value, but it appears to be blank?
Simply using:
PHP Code:
echo "<strong>HEADER SESSION -> " . $_SESSION["lang"] . "</strong>";
Is there something that is clearing it? I'm not using anything to clear the session value, just don't understand how it is behaving here?
Picco
www.crmpicco.co.uk
www.ie7.com