Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9180449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:03:29+00:00 2026-06-17T18:03:29+00:00

I currently have an application which calls httpResponse.End() to end a request, however, following

  • 0

I currently have an application which calls httpResponse.End() to end a request, however, following Microsoft’s recommendations and to keep it from throwing an exception I am trying to change it to HttpContext.CompleteRequest,

My question however is, what is the HttpContext object? And where do I get it inside the controller?

EDIT: I initially posted a question that was similar, in order to change the title I deleted the question and tried asking it again (there is probably a better way). StackOverflow prevented me from doing it because it was a ‘duplicate’, although I already deleted it. Adding this, so it allows me to post.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T18:03:31+00:00Added an answer on June 17, 2026 at 6:03 pm

    System.Web.HttpContext

    It is static (Or at least has the appearance of being so) and accessible within MVC Controllers, ASP.NET web forms and I would assume ASP.NET web pages (have not used).

    The Current property gives you access to Session, Cache and all the things you associate with an active Web context.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently, I have an Application which consists of a BasePage which as a header
I have an application in which I'm currently using a two column table in
I have a xPage application which shows list of emails of the currently logged
I have a POS web application which currently executes a java applet on page
I currently have a 32-bit .Net application (on x86 Windows) which require lots of
I have a Clustered Windows Hosting site which currently hosts an MVC Web Application
I'm currently working on an oophp application. I have a site class which will
I have a web application which needs to support multiple languages. We currently have
I have a view my Django application which when invoked calls my backend. My
I have a CSV export script (enrdata_arch.php) which calls information from an existing database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.