Hi all,

Somehow this issue is solved, still don't know what caused it. But it
must have been an error in my code then.

On 3 mrt, 11:10, egarretsen <[email protected]> wrote:
> Hi all / Anthony,
>
> Session restore does not work in Opera for me, it works in Chrome and
> Firefox. I get the error message:
>
> Error message:
> ___
> Uncaught exception: TypeError: Cannot convert
> 'iframe.contentWindow.APE' to object
>
> Error thrown at line 112, column 2 in <anonymous function:
> APE.Client.prototype.load>() 
> inhttp://www.cruisechat.nl/ape/APE_JSF/Build/uncompressed/apeClientJS.js:
>     iframe.contentWindow.APE.init(config);
> ___
>
> My code to check for session restore:
>
>         if (this.core.options.restore) {
>
>                 //Connect to ape server. Start without arguments will ask for 
> multi
> and uni pipes
>                 this.core.start();
>
>                 if (iscon) {console.log("Retrieve session...");}
>
>         } else {
>
>                 //TODO OPERA FAILS session restore check if nickname is free
>                 //Connect to ape server and send params
>
> this.core.start({"name":this.userdata.chatname,"descr":this.userdata.chatdescr,"prov":this.userdata.chatprov,"region":this.userdata.chatcity,"ip4":this.userdata.ip4,"pic":this.userdata.chatpic,"state":"0"});
>
>                 if (iscon) {console.log("New session...");}
>
>         }
>
> Am i doing something wrong or is there a better way to check for
> session restore?

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to