Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the full URL or query params in user session
#1
I am using Intraweb 16, and I can't figure out how to get the URL or query params. I am starting the user session from TWebBrowser on the client side with a specific URL and params, and I need to parse it.

All I found was this WebApplication->Request->Params->Values["IW_Location_"] contains the full URL. But I thought maybe there is a simpler way to achieve this?
Reply
#2
(11-03-2025, 07:03 PM)Ahmed Sayed Wrote: I am using Intraweb 16, and I can't figure out how to get the URL or query params. I am starting the user session from TWebBrowser on the client side with a escape road URL and params, and I need to parse it.

All I found was this WebApplication->Request->Params->Values["IW_Location_"] contains the full URL. But I thought maybe there is a simpler way to achieve this?

Hey Ahmed,
You can indeed access the URL and query parameters in a simpler way using the Request object.
Example:
To get the full URL, including the query parameters, you can use WebApplication->Request->URL.
This will give you the complete URL that the browser used to make the request.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)