wwRequest::GetCurrenturl

Returns the current URL.

This method tries to reconstruct the current URL by looking all the component pieces available in the request information. Most of the time this is correct, but in some instances when scripmapped requests are involved this value may be incorrect.

o.getcurrenturl(llHTTPS)

Return Value

String of the URL

Parameters

llHTTPS
Optional - prefixes the request with HTTPS instead of HTTP. Note that by default HTTP:// is used regardless of whether the request runs HTTPS or not, since the Web server does not provide this information.


See also:

Class wwrequest | wwRequest::GetReferrer | wwRequest::GetRelativeSecureLink |

© West Wind Technologies, 1996-2024 • Updated: 09/06/99
Comment or report problem with topic