Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-10

fcl-web capturing called URL

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

Hi, I'm trying (without success) to capture the called URL using fcl-web o Brook. How can I get that info?.

Regards,

Leonardo M. Ramé Medical IT - Griensu S.A. Av. Colón 636 - Piso 8 Of. A X5000EPT -- Córdoba Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19 Cel.: +54 9 (011) 40871877

Reply by email

Leonardo M. Ramé
to Michael Van Canneyt

Hi Michael, as I'm using Brookframework I did HttpRequest.URL, but sadly I'm getting an empty string.

Leonardo.

Michael Van Canneyt wrote 10 lines
On Fri, 20 Oct 2017, Leonardo M. Ramé via Lazarus wrote: > Hi, I'm trying (without success) to capture the called URL using > fcl-web o Brook. How can I get that info?. In fcl-web, did you try Request.url ? Michael.

Reply by email

Michael Van Canneyt
to Leonardo M. Ramé
Leonardo M. Ramé wrote
Hi Michael, as I'm using Brookframework I did HttpRequest.URL, but sadly I'm getting an empty string.

It depends on whether the server passes it on.

If not, in that case you'll have to construct it from:

HttpRequest.scriptname+HttpRequest.pathinfo+HttpRequest.query

Michael.

Reply by email