sessions in php generated css problem
Permalink
Is there some reason why session variable isn't available here:
#main.php file <?php session_register(); session_start(); $_SESSION['php_css'] = "someValue"; <link ... to some other regular css files > <link href="css.php" rel="stylesheet" type="text/css" /> <!-- normal html continues--> ?> #css.php file <?php session_start(); header("Content-type: text/css"); echo $_SESSION['php_css']; ?>
Guy