By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,247 Members | 871 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,247 IT Pros & Developers. It's quick & easy.

Passing a header variable to another page

P: 1
I'm trying to pass a header variable "SMUSERDN" with a value of "reportingonly" to this page - https://qaanz13.corp.ad.local/cv/logproc.asp.

The page I'm redirecting from looks like this:

Expand|Select|Wrap|Line Numbers
  1. <%@ LANGUAGE="VBSCRIPT" %>
  2. <%
  3. Option Explicit
  4. On Error Resume Next
  5. %>
  6.  
  7. <%
  8. Response.AddHeader "SMUSERDN","reportingonly"
  9.  
  10. Response.Redirect "https://qaanz13.corp.ad.local/cv/logproc.asp"
  11. %>
I can't get this to work.
The request doesn't seem to have that header variable in it.
Any ideas on what I am doing wrong?
Dec 7 '12 #1
Share this Question
Share on Google+
1 Reply


PsychoCoder
Expert Mod 100+
P: 465
Try taking
Expand|Select|Wrap|Line Numbers
  1. On Error Resume Next
  2.  
out and see if an error is being generated that you're not seeing
Dec 13 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.