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?
How do sessions compare to cookies in terms of storage capacity?
How do sessions compare to cookies in terms of storage capacity?
What happens to session values when the browser is closed?
What happens to session values when the browser is closed?
In which array variable are session variables stored?
In which array variable are session variables stored?
When must a session be started?
When must a session be started?
What is the function used to create a session in PHP?
What is the function used to create a session in PHP?
What is an example of how a session can be used?
What is an example of how a session can be used?