I  made a test with the Phoenix-Browser and ENABLE COOKIES = OFF in
the Privacy configuration of the browser.

my index.php:

<?
   session_start();
   $_SESSION["test"] = "test";

   echo "<a href='index2.php'>index2.php</a>\n";

?>

my index2.php:

<?
   session_start();
   echo $_SESSION["test"];
?>

My php.ini:

session.use_trans_sid = 0

on index2.php there's no result -> $_SESSION["test"] is not set.

when I enable

session.use_trans_sid = 1

the session_id is added to the url, but php.ini says not to use
session.use_trans_sid = 1 for security reasons.

How can I process $_SESSION variables if the user disables cookies
and session.use_trans_sid = 0 ?


-- 
Jochen Kaechelin


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to