1. Computing

Session_start() PHP Function


Definition: Session_start() is used in PHP to initiate a session on each PHP page. It must be the first thing sent to the browser, or it won't work properly, so it's usually best to place it right after the <?php tags. This must be on every page you intend to use sessions on. For more information read our sessions tutorial.
Also Known As: Start Session PHP
 // this starts the session 
 // this sets variables in the session 
 print "Done"; 
Top Related Searches
  • session php
  • lt
  • variables
  • sessions
    1. About.com
    2. Computing
    3. PHP / MySQL
    4. PHP Functions
    5. The Session_start () function in PHP

    ©2014 About.com. All rights reserved.