PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → One question about WebDev
One question about WebDev
Iniciado por Lasse Sandström, 15,dic. 2013 00:14 - 1 respuesta
Publicado el 15,diciembre 2013 - 00:14
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
Miembro registrado
8 mensajes
Publicado el 16,diciembre 2013 - 19:02
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.