llo there as a response to the session
there is only one session_id in my page
how can i destroy the session id when and only when I finish my shopping cart ?
in my shoppingpge.php
<?
if (!session_id())
session_start();
$session_ids=session_id();
};
?>
<HTML>
<body>
< a href="submit.php?session=<? echo $sessions_id; ?>" submit here </a>
</body>
</html>
in my submit.php
<html>
<body>
<?
$session=$_GET['session'];
echo '<a href=" destroy.php"> </a>';
?>
</body>
</html>
in my destroy.php
<?
session_start();
session_unset();
session_destroy();
session_start();
$url="shoppingpge.php";
Header("Location: $url");
?>
When returned to shoppingpge.php
the session_id still the same value
🙁 how can i change the value of my session_id
???????