Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can we register the variables into a Session?

Answer Posted / tarun

session_start();
$ses_variable="name";
session_register('ses_varaible');


// to access the session
echo $_SESSION['ses_variable'];

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is php and sql?

1019


Write a php script to get the largest key in an array?

971


Can the value of a constant change during the script's execution?

931


Is array a key php?

910


Does php use html?

911


Is php better than java?

926


Can php replace javascript?

942


What is new static in php?

939


What is the main difference between asp net and php?

962


How to remove leading and trailing spaces from user input values?

922


Are php variables global?

962


What is singleton class in php?

938


Why and where do we use htaccess?

979


What type of errors can be occurred in php?

933


What are php parameters?

946