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

Tell me is it possible to submit a form with a dedicated button?

946


What is htmlentities function in php?

954


Which function would you use to read a line of data from a file in php?

1020


What are php magic methods?

992


Explain briefly about a search-friendly site looks like?

897


Explain about the $_GET variable of PHP?

1013


What is the current stable version of php?

1033


What is regex in html?

904


What is the delimiter default in PHP?

1079


Php code to find whether a number armstrong or not?

960


What is the difference between single quoted string and double quoted string?

1088


What are the two types of variables?

976


What is a helper function?

948


What is a variable cost example?

1030


What are the different errors in php?

994