mercredi 6 mai 2020

How do I secure session data in PHP?

How do I secure session data in PHP? Is it possible to access the value of a session from outside? How should I take action if this is possible? Is there a guide I can read? Or an educational article.

//Is it safe ?
<?php
session_start();
$_SESSION['ID'] = 'user_id';

//After database get data.

?>



Aucun commentaire:

Enregistrer un commentaire