
EC-CouncilCertified Application Security Engineer (.NET)
Domain 6Objective 2
Cookie-Based Session Management CASENET Practice Questions (Page 1)
Part of the Secure Coding: Session Management domain, which makes up ~10% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~5–8 in this domain), expect 1–2 from this objective — we provide 47 practice questions to prepare you well beyond it. (estimate)
47questions here
10free pages
10concepts
Questions 1–5
- 1
A developer is fixing a session fixation vulnerability in an ASP.NET application. The application uses cookie-based sessions and also issues a separate CSRF token that is stored in a second cookie. The developer plans to call Session.Abandon() and then create a new session after login. However, the CSRF token cookie is not regenerated. Which additional step is required to fully prevent session fixation?
Select an answer first - 2
Which cookie attribute restricts the browser from sending the cookie on cross-site requests, providing protection against CSRF?
Select an answer first - 3
Which ASP.NET session state mode stores session data in memory on the web server and is suitable for a single-server deployment?
Select an answer first - 4
In ASP.NET, which method is used to regenerate a session ID to prevent session fixation?
Select an answer first - 5
Why is it important to sign session cookies?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “CASENET” is a trademark of its owner, used for identification only.