0
should session_start only be used in php file? Also do these stored info come from html/js form/inputs?
3 Réponses
+ 2
session_start can only be used in PHP. Sessions do not store anything when you first create them but you can easily store variables from a form like so:
$_SESSION['Name'] = $_POST['Name'];
0
thanks...
0
Only in php