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...

Which of the following represents the proper way to set a
session variable?
Answer:
a. $_SESSION['foo'] = 'bar';
b. session_start();
c. session_set_save_handler ('myopen', 'myclose', 'myread',
'mywrite', 'mydelete', 'mygarbage');
d. $foo = $_SESSION['foo'];
2.When administering MySQL, you should make the data
directory accessible via the operating system
3.which statement can be used to determine how the optimizer
resolves a query

Answer Posted / savitha

session variable answer is:

a. $_SESSION['foo'] = 'bar';

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I make a script that can be bilingual (supports english, german)?

1017


What is call by reference in php?

1024


What is mysql_real_escape_string used for?

981


What is composer used for?

951


How to delete file in php?

986


Tell me how can we check the value of a given variable is alphanumeric?

1078


What is a static method php?

1003


What are the method available in form submitting?

994


What are the array functions in php?

979


How is it possible to parse a configuration file?

963


Tell me how comparison of objects is done in php5?

929


What is the difference between a session and cookies?

947


Which methods should be used for sending an email using the variables $to, $subject, and $body?

1128


Are objects passed by value or by reference?

984


What is session in php why it is use?

988