468,483 Members | 2,646 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,483 developers. It's quick & easy.

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 1661
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
By using this site, you agree to our Privacy Policy and Terms of Use.