Atozed Forums

Full Version: How to get the full URL or query params in user session
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
(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.
(11-05-2025, 07:19 AM)rialpleasan Wrote: [ -> ]Hey Ahmed,
You can indeed access the capcut pro 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.

WebApplication -> Request ->URL gives the full string, but is there a built-in helper method/property in IW16 to parse out a specific query parameter value directly (like Params.Values['myParam']), or do you usually just parse the raw URL string yourself?