PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → PageAddress function  ???
PageAddress function ???
Iniciado por DIEGO SANCHEZ ( Tecn, mar., 31 2013 12:12 AM - 2 respostas
Membro registado
39 mensagems
Publicado em março, 31 2013 - 12:12 AM
What exactly is this function used for ?
What in normal everyday language does it do ?

TIA
Publicado em abril, 01 2013 - 8:35 PM
Hi Diego

it returns the URL (either complete or relative) of the current page...
It is used when you are in a "generic" code (a global procedure by
example) that has to use the current page address to do something.

By example, in an awp site, when you want your pages to be properly
referenced by search engines, you will have to construct the URL of your
target pages on the fly... By using pageaddress, you are using the
current URL (be it localhost based in test mode or www.mysite.com based
in production mode) and with text handling function you can extract the
current parameters, change the pgae name to another one for a target,
and so on

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on http://www.fabriceharari.com


On 3/30/2013 6:24 PM, DIEGO SANCHEZ ( Tecn) wrote:
What exactly is this function used for ?
What in normal everyday language does it do ?

TIA
Publicado em abril, 02 2013 - 12:45 AM
Thanks Fabrice that is an extraordinary explanation