Which of the following is used to get the value of a cookie based on its name?

27. Which of the following is used to get the value of a cookie based on its name?

  1. ctx.cookies.obtain()
  2. ctx.cookies.set()
  3. ctx.cookies.get()

Answer: C) ctx.cookies.get()

Explanation:

ctx.cookies.get() used to get the value of a cookie based on its name.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.