Created
October 17, 2014 12:27
-
-
Save KevinRagsdale/7e88d5d03148f95813b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Language="VB" %> | |
<script runat="server"> | |
Protected Sub Page_Load(sender As Object, e As EventArgs) | |
Dim lcHeader As String = "" | |
If Not Request.Headers("X-MyHeader") Is Nothing Then | |
lcHeader = Request.Headers("X-MyHeader").ToString() | |
Response.Write("Hey, thanks for sending X-MyHeader: " & lcHeader) | |
Else | |
Response.Write("Aww... :( I was looking for X-MyHeader...") | |
End If | |
End Sub | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment