Print Page | Close Window

URL-Parameter (Querystring)

Printed From: TMS Software
Category: WEB
Forum Name: WEB Core
Forum Discription:
Printed Date: 21 Jan 2020 at 10:41am

Topic: URL-Parameter (Querystring)
Posted By: Langwald Stefan
Subject: URL-Parameter (Querystring)
Date Posted: 24 Jul 2018 at 5:53am
Is it possible to examine the querystring of a called url in a webapplication? I would like to Display Special forms when a user opens my Website. How can I do this?

Posted By: Bruno Fierens
Date Posted: 24 Jul 2018 at 9:49am
In unit WebLib.WebTools there are two functions that can help:

function GetQueryParam(AName: string): string;
function HasQueryParam(AName: string; var AValue: string): boolean;

You could use this in the application .DPR source and depending on the query param create a different default form.

Print Page | Close Window