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

  • SEARCH
  • Home
  • 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 7523633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T02:51:35+00:00 2026-05-30T02:51:35+00:00

I have an IHttpHandler which I’m running on an Windows Server 2008R2, and IIS

  • 0

I have an IHttpHandler which I’m running on an Windows Server 2008R2, and IIS 7.5 with integrated mode. The handler should handle file uploads, triggered by a jQuery-Ajax call.

First It did not work on IIS at all, only in the VS 2010 Debugger. Somehow I did manage to register the Handler correctly and I was able to debug the HttpHandler – BUT: Asp.Net Authentication wasn’t working: it always said I wasn’t logged in. When I directly access the HttpHandler it all works like a charm. Only the jQuery-Ajax call drops dead.

For further information: I’m using FormsAuthentication and it all is running inside an MVC 3 Application.

Could it be related to a missing AuthCookie? I’ve also read this Article, but it doesn’t seem to help me out: MVC + Ajax call to Controller Loses Authentication

If you need any further information / code, just ask for it, I’ll post it asap.

  • 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-05-30T02:51:36+00:00Added an answer on May 30, 2026 at 2:51 am

    Could it be related to a missing AuthCookie?

    Yes, it could, especially if your file upload component uses Flash it might not send the authentication cookie. You may take a look at the following article for a sample workaround which consists into sending the authentication cookie value in addition to the file in the request.

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

Sidebar

Related Questions

I have ASP.NET IHttpHandler module which handle file uploads. I set file size limit
I have IHttpHandler type web service written in C# running on IIS 7.5. I
I have a class which implements IHttpHandler that is designed to handle image resize
I'm working on an IHttpHandler implementation which will handle all *.gif files. The Handler
In our Asp.Net Application we have an IHttpHandler handling requests for Images. The Handler
I have a custom IHttpHandler which is used by thick clients to download files
I have ASHX HTTPHandler which implements IRequiresSessionState. When I call this handler, and call
I have a HTTP Handler which does not fire. i just noticed that adding
I have a Generic HTTP Handler (*.ashx) in my ASP.Net application which performs some
I have an IHttpHandler which I believe can benefit from re-use, because it is

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.