PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → One question about WebDev
One question about WebDev
Iniciado por Lasse Sandström, dez., 15 2013 12:14 AM - 1 resposta
Publicado em dezembro, 15 2013 - 12:14 AM
Are it possible to read browser address bar in expression ?

Or are it possbile to send key command 'ctrl-L' in website to mark this address line
and then copy it 'ctrl'c' to expression ?

I need these info as I need this return data to accept payments in mt system.

And I'm usin WebDev 17 , I have also WinDev 17 and WinDev Mobile 17.

Lasse S
programmer in Finland
Membro registado
8 mensagems
Publicado em dezembro, 16 2013 - 7:02 PM
You want to stay away from using shortcuts such as Ctrl+L and Ctrl+C, since that would be reaching outside of the browser into the OS.
Though it might be able to be done through JavaScript.

As for your problem with trying to get the URL of the page, use PageAddress.
You can use
CurrentPage is string = PageAddress("",paFULL)
on the server to get the entire URL of the current page, though I recommend the paSECURE option if you are using it inside of a payment system.