Advertisement
aliali2020

PHP Session

Dec 7th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.32 KB | None | 0 0
  1. PHP Session
  2. A session is started with the session_start() function.
  3.  
  4. Session variables are set with the PHP global variable: $_SESSION.
  5.  
  6. Now, let's create a new page called "demo_session1.php". In this page, we start a new PHP session and set some session variables:
  7. Download file from here : http://yaslink.com/gixCM
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement