Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Assign URL to a button 1999-11-11 -- Gavin Halliday I can think of a simple solution, but unfortunately it requires a bug fix
that didn't get in the first beta. (It should work with isapi, but not the
beta stand alone broker).
Try some code like:
CASE ACCEPTED()
OF ?MyButton
WebServer.Client.TakePage('http://topspeed.com/page',false)
WebServer.TakePageSent()
If the URL is absolute (starts with / or http: or https:) then it should
redirect correctly.
Steve Parker adds:
Then, the following should also work:
CASE ACCEPTED()
OF ?MyButton
WebServer.Client.TakePage( CLIP(myLinkVariable) ,false)
WebServer.TakePageSent()
where a locally assembled variable contained the url.
Today is November 23, 2024, 2:17 am This article has been viewed 35202 times.
|
|