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 120743
In Process

The Archive Base Latest Questions

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

How can I cause a redirect in ASP (pre .NET) to carry the Basic

  • 0

How can I cause a redirect in ASP (pre .NET) to carry the Basic Authorization header as the ASP request. We tried using the following code .

response.setHeader( 'Authorization', 'Basic ' + strAuth ); response.sendRedirect( src ); response.flushBuffer(); 

The header is set on the response of the .asp, but not passed on to the request to the new page. Is there a way to make sure the Authorization header is attached to the resulting request?

  • 1 1 Answer
  • 2 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. 2026-05-11T03:51:35+00:00Added an answer on May 11, 2026 at 3:51 am

    Are you redirecting to another ASP ‘classic’ page in the same site? If so, you’re better off storing the auth string in a Session variable and/or using Server.Transfer. Server.Transfer will transfer execution to another ASP script, which will then have access to the Request object of the calling page.

    Also… response.setHeader? In classic pre-.NET ASP? Classic ASP uses response.addheader and response.redirect, not response.setHeader and response.sendRedirect.

    Maybe you’re using On Error Resume next and you’re not seeing the errors the code is actually generating. Because that code will not run.

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

Sidebar

Ask A Question

Stats

  • Questions 224k
  • Answers 224k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer It sounds like you have a path problem in the… May 13, 2026 at 12:44 am
  • Editorial Team
    Editorial Team added an answer you can't do it for videos at present, but you… May 13, 2026 at 12:44 am
  • Editorial Team
    Editorial Team added an answer This is the "greatest-n-per-group" problem that is posted frequently on… May 13, 2026 at 12:44 am

Related Questions

I'm working on adding a feature to an old classic asp site and ran
This problem has been solved thanks to your suggestions. See the bottom for details.
I have website that is ASP.NET with Forms Authentication, clicking the logout button does
Our company has for many years had multiple domain names to protect our product

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.