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 to get no of arguments passed to a PHP Function?

1006


What is the difference between php and javascript?

1246


Explain me what is the use of header() function in php?

1085


When to use get and post request?

1057


What is session data?

1023


How to enable error reporting in php?

1114


What are php errors?

1034


What is user defined function in php?

1027


How to get number of elements in an array?

1050


How do you measure variables?

1106


What are the differences between PHP3 and PHP4 and PHP5? what is the current stable version of PHP?

1178


How can image properties be retrieved in php?

1045


Which is faster for or foreach?

1001


How do you end a session in php?

1148


What is Apache's configuration file typically called?

1195