` 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 November 21, 2024, 10:28 am
This article has been viewed/printed 35290 times.