Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

URL-Parameter (Querystring)

 Post Reply Post Reply
Author
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 7925
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Topic: URL-Parameter (Querystring)
    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.
Back to Top
Langwald Stefan View Drop Down
New Member
New Member
Avatar

Joined: 09 Apr 2014
Posts: 7
Post Options Post Options   Quote Langwald Stefan Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down