Print Page | Close Window

URL-Parameter (Querystring)

Printed From: TMS Software
Category: WEB
Forum Name: WEB Core
Forum Discription:
URL: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=11199
Printed Date: 26 Aug 2019 at 7:43am


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?



Replies:
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