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

Explain Constant in Class?

1089


How can you compare objects in php?

1005


What is laracast?

1077


How to get complete current page url in php?

1117


What is a php form?

1077


What are the differences between php constants and variables?

1244


Tell me what is the difference between get and post?

1008


Is php strongly typed?

1104


What will the ?getdate() function returns in PHP?

1153


What is cookies? How to create cookies in php?

1007


What are html entities?

996


How do you sort an array in php?

1026


What is the purpose of php?

1011


How do you identify independent and dependent variables in research?

963


What is urlencode and urldecode in php?

1188