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 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
  • 4 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

Related Questions

In ASP.NET MVC you can return a redirect ActionResult quite easily: return RedirectToAction("Index"); or
can I use ASP.NET MVC URL like this witout redirect to it from Global.asax?:
Can I configure ASP.NET custom errors so that it would redirect to other site
I recall reading somewhere that using references to smart pointers can cause memory corruption.
the other day a colleague of mine stated that using static classes can cause
Using Application.OnKey <key>, <procedure> , I can cause Excel to run <procedure> whenever <key>
What are your techniques to using mobile with asp.net, I know how to detect
I am creating timed online test in C# asp.net. I have created it using
So far I've been using ASP.NET MVC 3 BETA. Everything was working fine till
I am tring to login using asp.net authentication in nokia e5-00 device. The login

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.