Podcast
Questions and Answers
What is a session in the context of PHP?
What is a session in the context of PHP?
A global variable stored on the server.
What is the purpose of the unique session id?
What is the purpose of the unique session id?
To retrieve stored values.
How is the session id stored on the user's computer?
How is the session id stored on the user's computer?
In a cookie.
What happens if the client browser does not support cookies?
What happens if the client browser does not support cookies?
Signup and view all the answers
How do sessions compare to cookies in terms of storage capacity?
How do sessions compare to cookies in terms of storage capacity?
Signup and view all the answers
What happens to session values when the browser is closed?
What happens to session values when the browser is closed?
Signup and view all the answers
In which array variable are session variables stored?
In which array variable are session variables stored?
Signup and view all the answers
When must a session be started?
When must a session be started?
Signup and view all the answers
What is the function used to create a session in PHP?
What is the function used to create a session in PHP?
Signup and view all the answers
What is an example of how a session can be used?
What is an example of how a session can be used?
Signup and view all the answers