File: example.php

Recommend this page to a friend!
  Classes of Ovunc Tukenmez  >  PHP SameSite Session Cookie Starter  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Auxiliary script
Class: PHP SameSite Session Cookie Starter
Initialize PHP sessions to use same site cookies
Author: By
Last change:
Date: 6 months ago
Size: 188 bytes
 

Contents

Class file image Download
<?php
require_once 'SameSiteSessionStarter.php';

//start samesite none php session
SameSiteSessionStarter::session_start();

// set session variable as usual
$_SESSION['test'] = '12345';


For more information send a message to info at phpclasses dot org.