Atozed Forums
Session has no active form - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Session has no active form (/thread-3558.html)



Session has no active form - tobenschain - 10-09-2023

I am unable to find the cause of this message in my code.


RE: Session has no active form - svenheuer - 10-09-2023

Check that you don't have any unhandled exception on OnNewSession-Handler.. I had this a few days ago.


RE: Session has no active form - tobenschain - 10-09-2023

(10-09-2023, 09:06 PM)svenheuer Wrote: Check that you don't have any unhandled exception on OnNewSession-Handler.. I had this a few days ago.

It fails for the first session.


RE: Session has no active form - tobenschain - 10-10-2023

(10-09-2023, 11:09 PM)tobenschain Wrote:
(10-09-2023, 09:06 PM)svenheuer Wrote: Check that you don't have any unhandled exception on OnNewSession-Handler.. I had this a few days ago.

It fails for the first session.

I was missing 

initialization
  TIWForm1.SetAsMainForm;
end.