+ 3
What is php session
sessions for login in php
2 Respuestas
+ 1
by the help of session we store information it to use other page of php.
Session is most important in php.
first we include function 'session_start();'
in starting
now store any data in e.g.
$_SESSION['username']="Ashutosh";
now this data include other php page
again first start session_start();
now echo $_SESSION['username'];
// Ashutosh