WEB BROWSERS TECHNOLOGY
WHAT IS WEB TECHNOLOGY
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
What is a way to store information (in variables) to be used across multiple pages?
|
POST
|
|
SESSION
|
|
METHOD
|
|
ENCRYPT
|
Explanation:
Detailed explanation-1: -A session is a way to store information (in variables) to be used across multiple pages. Unlike a cookie, the information is not stored on the users computer.
Detailed explanation-2: -Session variables are stored in associative array called $ SESSION[]. These variables can be accessed during lifetime of a session.
Detailed explanation-3: -Passing variable values between pages using session In a member login system the user details are verified and once found correct, a new session is created and with user id of the member and this value is stored at server end.
Detailed explanation-4: -setItem() This method is called to store values in session storage. This method takes in the key and values as parameters.
There is 1 question to complete.