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 / p.swamy
session variable answer is:
a. $_SESSION['foo'] = 'bar';
| Is This Answer Correct ? | 31 Yes | 2 No |
Post New Answer View All Answers
What are traits?
Is java is better than php?
How to send a cookie to the browser?
What is repository in php?
Tell me how can we determine whether a variable is set?
What is the difference between overloading and overriding in php?
What is the current stable version of php?
Does session expire on closing browser?
Is php a web server?
What is isset post?
What does $globals mean?
Why would we use === instead of ==?
Which PHP function would you use to send an email?
How to convert a json string to an array in php?
What is the difference between query and inquiry?