471,058 Members | 980 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,058 software developers and data experts.

Passing a header variable to another page

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
  2. <%
  3. Option Explicit
  4. On Error Resume Next
  5. %>
  7. <%
  8. Response.AddHeader "SMUSERDN","reportingonly"
  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
1 1749
465 Expert Mod 256MB
Try taking
Expand|Select|Wrap|Line Numbers
  1. On Error Resume Next
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.

Similar topics

10 posts views Thread by vbMark | last post: by
2 posts views Thread by Donal McWeeney | last post: by
2 posts views Thread by Ricardo | last post: by
2 posts views Thread by Mike P | last post: by
3 posts views Thread by Gus | last post: by
4 posts views Thread by RipperT | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.