Answers for "what is session_start(); in php"

PHP
1

php session destroy

<?php
// Destroy the currently active session.
session_destroy();
?>
Posted by: Guest on April-14-2020
-1

session start php

<?php
// This sends a persistent cookie that lasts a day.
session_start([
    'cookie_lifetime' => 86400,
]);
?>
Posted by: Guest on April-17-2020

Browse Popular Code Answers by Language