` Printed Icetips Article

Icetips Article



Par2: Avoiding the blue screen of stop
2000-11-05 -- Craig Ransom
 
I have been playing around with the new WB templates, especially 
in trying to avoid the "Blue Screen of Stop" and have the 
program return to the calling page instead.

Thanks to info in Steve Parker's KB I settled on using:

SELF.PageToReturnTo =   
CLIP(Broker.Http.GetBrowserProperty('REFERER'))

based on Michael Boston's & Michael Dawson's work. I place this 
in the WebServer Init() AFTER the parent call and it all seems 
to be OK!

Global Objects
  Web Objects
    Web Server (WbServerClass)
      Init PROCEDURE(WbBrokerClass TheBroker,WbShutDownClass The ShutDownManager,
       ,SIGNED TimeOut, ,WbFilesClass
TheFiles)
        Parent Call
        Source(SELF.PageToReturnTo = CLIP(Broker.Http.GetBrowserProperty('REFERER')))



Printed May 6, 2024, 7:55 pm
This article has been viewed/printed 35112 times.