Question: What is the correct way to make a variable available to all of your templates?

  1. Set a session variable.
  2. Use a global variable.
  3. Add a dictionary to the template context.
  4. Use RequestContext.

Answer: The correct answer of the above question is Option D:Use RequestContext.