Chinese Kongfu - 9cbs.com-WellCMS
  •  Home
  •  Tech
  •  Login
6miu盘搜
  1. Tech
  2. : Request.ServerVariables ("HTTP

: Request.ServerVariables ("HTTP

xiaoxiao2021-03-06  117

The following is that from the address bar of the browser normally gets request.servervariables ("http_referer"): 1. Directly use 2. Form (POST or GET) submitted by Submit or . Using JScript submitted form (post or get) Let's take a look at the case where Request.ServerVariables ("http_referer") cannot normally value: 1. Link from favorites 2. Click 'Home' or Custom Address 3. Using JScript's location.href or location.replace () 4. In the browser direct input address 5. <% Response.redirect%> 6. <% Response.addheader%> or steering 7. With the XML loading address, request.serverVariables ("http_referer") is not working properly in most cases, let's take a look at an example: ref.asp <% response.write "You Came from:" & Request.ServerVariables (" http_referer ")%> ref.htm <% response.addheader" refresh "," 10; url = ref.asp "%> < Form method = get action = ref.asp name = getform>

Take a look at what the code will get.

javascript location

JavaScript replace

JavaScript get

<

A href = '#' οnclick = 'document.postform.submit (); return false;'> JavaScript Post Original: 书生 From: Chinaasp.com

转载请注明原文地址:https://www.9cbs.com/read-95499.html

9cbs

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.060, SQL: 9