Wednesday, 24 August 2016

How can i get session id in php

session ID is a unique number that a Web site's server assigns a specific user for the duration of that user's visit (session). The session ID can be stored as a cookie, form field, or URL (Uniform Resource Locator). Some Web servers generatesession IDs by simply incrementing static numbers.

EXAMPLE :

<?php 

    session_start();
    echo session_id();

?>


How can i get session id in php

No comments:

Post a Comment