Search Header Logo

Sessions and Cookies

Authored by Thalita Vergilio

Computers

University

Used 50+ times

Sessions and Cookies
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Cookies are stored...

on the client

on the server

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Same Origin Policy (SOP) means a server cannot set cookies for a different domain.

FALSE

TRUE

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Third-Party Cookies...

breach SOP

work around SOP

breach SOP, but must ask for consent

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

If a cookie's expiry date is not set, it defaults to...

1 day

the current time (the cookie is not saved)

forever (the cookie does not expire)

the end of the session

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Cookies cannot be accessed by Javascript.

TRUE

FALSE

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Cookies can be accessed by CSS.

TRUE

FALSE

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Session cookies expire...

after each request

after each response

when the user closes the browser

when the expiry date set in the cookie is reached

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?