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 / chetana
$_SESSION['FOO']='bar';
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How is a constant defined in a PHP script?
What is the best php framework 2018?
What is whitespace in php?
Write a program to find no of days between two dates in php?
What is a simple php method to make a cross domain data request?
How check submit button is clicked in php?
How do you debug php?
Why do we use session?
what does this symbol mean in php?
Do you know what are traits?
What is final class and final method in php?
Tell me what is the definition of a session?
Does jwt protect against csrf?
What is the importance of "action" attribute in a html form?
How to turn on the session support in php?