(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