PROBLEM RELATED TO SESSION

sourabh kumar

Total Post:6

Points:42
Posted by  sourabh kumar
PHP 
PHP
 1623  View(s)
Ratings:
Rate this:
how implement the session in php?
  1. Amit Singh

    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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!