wie bei HTML verloren?
Schick mir mal per Mail eine URL+Session.
Schick mir mal per Mail eine URL+Session.
<?
session_start();
// Hauptkonfigurationsdatei
include("config.inc.php");
include("db.inc.php");
//Sessionregister
include($dateiPfad . "includes/session_register.inc.php");
if($register_global == "1")
{
include($dateiPfad . "includes/global_off.inc.php");
}
<?
if(!session_is_registered('com'))
{
/*session_register("com","mail","kat","menue","sessionId","gesamtpreis2","porto","best");
$com = "false";
$mail = "";
$kat = "";
$menue = "";
$sessionId = rand() . rand();
$gesamtpreis2 = "";
$porto = "";
$best = "";*/
$_SESSION['com'] = "false";
$_SESSION['mail'] = "";
$_SESSION['kat'] = "";
$_SESSION['menue'] = "";
$_SESSION['subMenue'] = "";
$_SESSION['sessionId'] = rand() . rand();
$_SESSION['gesamtpreis2'] = "";
$_SESSION['porto'] = "";
$_SESSION['best'] = "";
$_SESSION['b_counter'] = "0";
$_SESSION['b_id'] = "";
$_SESSION['langu'] = "de";
}
if($action != "abwicklung")
{
$_SESSION['best'] = "";
}
?>
Kommentar