Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

EC-CouncilCertified Application Security Engineer (.NET)

Domain 6Objective 2

Cookie-Based Session Management CASENET Practice Questions (Page 8)

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 36–40

  1. 36application · easy

    A developer is explaining cookie behavior to a junior team member. The application sets a session cookie without an Expires or Max-Age attribute. The junior asks whether the cookie will persist after the browser is closed. Which statement is correct?

    Select an answer first
  2. 37application · medium

    An ASP.NET MVC application uses cookie authentication. A security audit warns that the site is vulnerable to CSRF because state-changing requests (e.g., POST to /account/changeEmail) are not protected. Which defense should be implemented?

    Select an answer first
  3. 38foundation · easy

    What is the purpose of an idle session timeout?

    Select an answer first
  4. 39expert · hard

    An ASP.NET application uses cookie-based sessions. After login, the developer calls Session.Abandon() and then immediately creates a new session. However, a penetration test still shows that the original session ID is accepted after login. What is the most likely reason?

    Select an answer first
  5. 40foundation · easy

    Which cookie attribute is essential to prevent client-side scripts from accessing the session cookie, thus protecting against XSS-based theft?

    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.