Rewrite

<%@ Page Language="C#" %> URL Rewrite Module v2 Test - Setting Server Variables

Setting HTTP request header and a server variable with URL Rewrite Module v2

The value of the Language cookie is <%=( Request.Cookies["Language"] != null ) ? Request.Cookies["Language"].Value : "Cookie not set" %>

The originally requested URI is <%= HttpUtility.HtmlEncode( Request.ServerVariables["ORIGINAL_URI"] ) %>

Comments

Popular Posts