- A session is a way to store information ( in the form of variable) to be used multiple pages.
- A PhP session variable is used to store information about, or change setting for a user session.Session variable hold information about one single user, and are available to all pages in one application .
<?php
session_start();
$_session[‘Name’]=’Castor classes’;
$_session[‘Age’]=’23’;
$_session[‘Weight’]=’47’;
echo “Done”;
?>
OUTPUT:-
Done
0 Comments:
Post a Comment