Name of the current file | |
SCRIPT_NAME | /PrepaidMeterReports/clients/FollderA/viewURL.asp |
PATH_INFO |
/PrepaidMeterReports/clients/FollderA/viewURL.asp |
URL |
/PrepaidMeterReports/clients/FollderA/viewURL.asp |
Entire URL, including the http:// or https:// prefix | |
entire URL | https://www.currencypin.com/PrepaidMeterReports/clients/FollderA/viewURL.asp? |
Page name ONLY | |
Page name, with IF logic ->version scr | viewURL.asp |
Page name, without logic ->version scrA | viewURL.asp |
HTTP_HOST | www.currencypin.com |
Referer function | |
expert exchange |
** previous page is not research.asp |
Get Folder name | http://www.currencypin.com/PrepaidMeterReports/clients/FollderA/ |
Request.ServerVariables("URL") | http://www.currencypin.com/PrepaidMeterReports/clients/FollderA/viewURL.asp |
Request.ServerVariables("URL") & "?" & Request.Querystring | http://www.currencypin.com/PrepaidMeterReports/clients/FollderA/viewURL.asp? |
Request.servervariables("http_referer") | |
/PrepaidMeterReports/clients/FollderA/viewURL.asp /PrepaidMeterReports/clients/FollderA/viewURL.asp /PrepaidMeterReports/clients/FollderA/viewURL.asp |
Use server variable, submit to self | Version scr, Action intended to self page: viewURL.asp Reply expected submitted value: |
||
action: /PrepaidMeterReports/clients/FollderA/viewURL.asp | |||
Version scrA, Action intended to self page: viewURL.asp Reply expected submitted value: |
|||
1. Response.Redirect(Request.Path); In which the path to the request is presented in the following form: /MyApp/MyFile.aspx |
action=(Request.Path) |
Standard link | StandardLink |
Link with # | LinkWith# | ||
Link with ASP | LinkWithASP | ||
Link with ASP+Parameters | LinkWithASP+Parameters Parameter1: Parameter2: |
||
2. Response.Redirect(Request.RawUrl); In which not only is the path exposed, but also any querystring parameters like: /MyApp/MyFile.aspx?foo=bar |
action=(Request.RawUrl) |
||
3. Response.Redirect(Request.Url.ToString()); |
action=(Request.Url.ToString() |