Navigate to another page from revLet?

Richard Gaskin ambassador at fourthworld.com
Fri Aug 28 13:32:56 EDT 2009


Trevor DeVore wrote:

> On Aug 28, 2009, at 1:24 PM, Andre Garzia wrote:
> 
>> it is complicated but it can be done. First you need to have sessions
>> implemented, you can pass your session variable to the revlet using  
>> the
>> revParams, this way, your revlet could write to RDBMS or to a CGI  
>> saying:
>> "hey, this session wants to go to another page" and in the page that  
>> loads
>> the revlet itself, there should be a javascript that pings the  
>> server every
>> couple seconds sending the session variable and receiving orders,  
>> this way,
>> you set a three way communication where a javascript in the page  
>> talks to
>> the server and the revlet talks to the same server.
> 
> Good times :-)
> 
> Thanks Andre.

No "do as JavaScript"?  Drag.

--
  Richard Gaskin
  Fourth World
  Revolution training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com



More information about the Use-livecode mailing list