Atozed Forums
How to get the full URL or query params in user session - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: How to get the full URL or query params in user session (/thread-5532.html)



How to get the full URL or query params in user session - Ahmed Sayed - 11-03-2025

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?


RE: How to get the full URL or query params in user session - rialpleasan - 11-05-2025

(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.