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 Type juggling?

929


where do we use htaccess?

957


What is the default time of cookie in php?

955


Name some of the popular frameworks in php.

950


Is learning php easy?

953


What is meant by an associative array?

959


What is the difference between php and javascript?

1123


What is polymorphism in oop php?

953


What is putenv?

959


How to add comments in php?

967


Write a program to find no of days between two dates in php?

958


How is session data stored?

920


What is trim function in php?

1043


What is the most convenient hashing method to be used to hash passwords?

949


Explain what are the two main string operators?

907