[Repost] How to get the full URL of the current page in ASP

xiaoxiao2021-03-06  42

It can construct the URL completed by the current page this:

"http: //" & required.servervariables ("http_host") & request.servervariables ("path_info") & "?" & request.servervariables ("query_string")

After obtaining this string, we write when writing the "Master / Matter" program, when the schedule page has been repeatedly operation, the query parameter and page number are still retained. Of course, if the schedule is processed in the new window, then I don't have to happen here.

What is the specific implementation? For example, we have a list of student, query through the class or age, and turn it over the middle page. We can add: