
Web Security: Common Vulnerabilities And Their Mitigation - Learn by example - sessions without cookies
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is it important to have an alternative to cookies for session management?
Cookies are more secure than session IDs.
Users may disable cookies in their browsers.
Cookies are always accepted by browsers.
Cookies are faster than URL parameters.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What PHP setting is used to mimic a browser that does not accept cookies?
session.use_only_cookies = 1
session.use_cookies = 1
session.use_only_cookies = 0
session.use_cookies = 0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you access the session ID in PHP when cookies are disabled?
Using the COOKIE_ID constant
Using the SESSION_ID constant
Using the PHPSESSID constant
Using the SID constant
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'session.use_trans_sid' flag do in PHP?
It enables automatic session ID propagation via cookies.
It disables session management.
It requires manual session ID propagation.
It enables automatic session ID propagation via URL parameters.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What must a developer do if 'session.use_trans_sid' is not set?
Manually append session IDs to URLs and forms.
Use cookies for session management.
Disable session management entirely.
Rely on PHP to handle session IDs automatically.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a potential downside of having session IDs in URLs?
They are more secure than cookies.
They are hidden from the user.
They can be easily bookmarked and shared.
They are faster to process.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does PHP handle session IDs in forms when 'session.use_trans_sid' is enabled?
It requires manual input of session IDs.
It automatically inserts a hidden input field with the session ID.
It disables form submissions.
It uses cookies to store session IDs.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University