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 / dhir
$_SESSION['foo'] = 'bar';
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Is php a framework?
Tell me what is mean by an associative array?
What is pdo in php why use?
How to set cookies?
What is a helper function?
Is php a dying language?
/temp is a type of filesystem directory. State Whether True or False?
What are the advantages of php?
What is difference between ksort() and usort() functions.
How to enable parsing?
How many types of array are there in php?
What is polymorphism in php?
What is the default session time in php?
Is it possible to destroy a cookie?
What are the rules for naming a php variable?