Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First Page from URL
#1
Hi I have created a new Intraweb (standalone) app with two forms (blueform and greenform) and have given them URL aliases in the OnConfig handler of the server controller using:

void __fastcall TIWServerController::IWServerControllerBaseConfig(TObject *Sender)
{
TGreenForm::SetURL ("/", "Green.html") ;
TBlueForm::SetURL ("/", "Blue.html") ;
}

The green form is set as the main form

If I try to start a session from a browser with the URL: http://127.0.0.1:8888/Blue.html I don't get the blue form, I get the green form. How can I fix this please?

Once the session has been started, the URL does work

I have Intraweb 14.2.7 Ultimate edition, and am using C++Builder 10.2 update 3

Thanks
Ian
Reply


Messages In This Thread
First Page from URL - by AllBars - 04-21-2018, 01:55 PM
RE: First Page from URL - by DanielFields - 04-21-2018, 07:30 PM
RE: First Page from URL - by DanBarclay - 04-23-2018, 02:00 AM
RE: First Page from URL - by AllBars - 04-23-2018, 09:33 AM
RE: First Page from URL - by DanBarclay - 04-24-2018, 12:16 AM
RE: First Page from URL - by DanielFields - 04-24-2018, 04:42 AM
RE: First Page from URL - by AllBars - 04-24-2018, 04:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)