[weblet] How can a webLet communicate with the hosting html page?

Sarah Reichelt sarah.reichelt at gmail.com
Fri Jul 24 05:11:36 EDT 2009


On Fri, Jul 24, 2009 at 4:55 PM, splash21<rev at splash21.com> wrote:
> I'll try to get some time today to update my download page, but here are the
> relevant snippets...
> ( COOKIES[SESVAR] is just my session variable )
>
>
> In the revlet HTML (view page source to see the whole block);
>
> <object ......
> <param name="session" value="<?rev put COOKIES[SESVAR] ?>"/>
> .....
> .....
> <embed type="application/x-revolution"
>               src="revletTest.revlet"
>               width=800 height=200
>               stack="test"
>               requestedName=""
>               instanceID=""
>               session="<?rev put COOKIES[SESVAR] ?>"
>></embed>
>
>
>
> In the revlet;
> on openStack
>   put the revletParams["session"] of this stack into sSession
>   .....
>   .....
>
>
> HTH  :)


It does indeed. Thanks you very much. I had tried something similar,
but hadn't thought to try the revletParams as a array.

Cheers,
Sarah



More information about the use-livecode mailing list