` Printed Icetips Article

Icetips Article



Par2: Page to return to method
2000-05-10 -- Michael Dawson
 
In the WebBuilder Clarion 5.5b2 code (should work in an embed), I set
  WebServer.PageToReturnTo =   'http://www.whatever.com/subdirectory/'
and then I close the app.  I have an app that is called by different sites
scattered all over, and I use this to return the user back to the
originating site/page.  Works with no problem.

Michael Boston adds:
I use
GPageToReturnTo=CLIP(Broker.Http.GetBrowserProperty('REFERER'))
However,
This only returns a web page if the request came from a link on an HTML
page.
If it came from a usegroup page or from the browser address entry or from an
email page you will get something else or nothing.



Printed November 21, 2024, 11:49 am
This article has been viewed/printed 35313 times.