Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get url params 15.1.5
#2
(11-03-2019, 12:08 PM)MrSpock Wrote: After a couple of hours I have found a solution
Code:
1) in UserSession class in "Public" sector put variable "parametr"

2) in UserSession.OnCreate put

  if WebApplication.RunParams.Count>0
  then
    parametr:=WebApplication.RunParams[0]
  else
    parametr:='';

3) in ServerController.OnGetMainForm put

  if UserSession.parametr = 'steg'
  then
    vmainForm:=TIWForm9.Create(WebApplication)
  else
    vmainForm:=TIWForm2.Create(WebApplication)

4) start your application with

http://YourAppDomain.org/$/start?steg
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)