Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get url params 15.1.5
#3
Another idea is not to put any code in user session unit

Code:
in ServerController.OnGetMainForm put

  if WebApplication.RunParams.Count>0
  then
  begin
     if WebApplication.RunParams[0]='steg'
     then
        vmainForm:=TIWForm9.Create(WebApplication)
     else
        vmainForm:=TIWForm2.Create(WebApplication)
  end
  else
     vmainForm:=TIWForm2.Create(WebApplication)  //usual main form
Reply


Messages In This Thread
get url params 15.1.5 - by MrSpock - 11-03-2019, 12:08 PM
RE: get url params 15.1.5 - by MrSpock - 11-03-2019, 05:18 PM
RE: get url params 15.1.5 - by MrSpock - 11-03-2019, 07:06 PM
RE: get url params 15.1.5 - by kudzu - 11-04-2019, 03:37 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)