problem related to session

Total Post:6

Points:42
PHP 
PHP
 1858  View(s)
Ratings:
Rate this:
how implement the session in php?
  1. Post:103

    Points:721
    Re: problem related to session

    hi sourabh,
    we initialize the session in php as

    <?php
    session_start();
    $_session['name']="sourabh"; //store the value in session
    echo "name=".$_session['name'];//retrieve the session value
    ?>

    check this code

      Modified On Mar-29-2018 03:52:22 AM

Answer