Answers for "how to start sesstion without the session veriable php"

PHP
2

end session variable php

// destroy the session
<?php
session_destroy();
?>
Posted by: Guest on April-25-2020
5

create session in php

<?php 
  // Start the session
  session_start();

  // Set session variables
  $_SESSION["color"]= "blue";
  $_SESSION["animal"]= "dog";
  echo "The session variable are set up.";
?>
Posted by: Guest on June-16-2020

Browse Popular Code Answers by Language