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 the importance of php?

964


What is a php tag?

888


Where is php code written?

995


Tell me how is it possible to remove escape characters from a string?

953


Which Scripting Engine PHP uses?

1179


I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?

952


How to download and install php for windows?

1035


Tell me how do I escape data before storing it into the database?

1066


What are the php functions?

1022


How to join multiple strings into a single string?

965


How does the identity operator ===compare two values in PHP?

1101


What is framework in php?

1007


Where is the functions php in wordpress?

1089


What is helper library?

928


Explain the difference between array_merge() and array_combine()?

994