Re: Digest for socket_io@googlegroups.com - 3 Messages in 1 Topic

36 views
Skip to first unread message

Ives Brito

unread,
Apr 21, 2013, 9:26:33 PM4/21/13
to sock...@googlegroups.com
I have the same problem :(( im using flash socket :(((

Ives Brito

Em 20/04/2013, às 16:54, sock...@googlegroups.com escreveu:

Group: http://groups.google.com/group/socket_io/topics

    utan <vcompu...@gmail.com> Apr 19 10:26PM -0700  

    Hi all,
     
    My application disconnect when user refreshes the page, this works
    fine in Chrome , Firefox.
     
    They are using socket, so its fine.. the only way I get ie7 8 9 to
    disconnect is using flashsocket but I don't want to use (no reason
    really) but I can't because the disconnect doesn't fire if using xhr-
    polling or jsonp-polling..
     
    I have set 'sync disconnect on unload' : true but even with
    that doesn't fire on those browser.. anyone know how to fix this
    issue?
     
    socket.o client version is: Socket.IO.min.js build:0.9.11
     
    and latest socket.io server
     
    getsocketHost : function(){
    // connect to the server and return the instance
    if(typeof io !== 'undefined'){
    this.client = new io.connect(/*window.location.hostname*/
    this.options.host , {
    port : this.options.port,
    'sync disconnect on unload' : true,
    reconnect : false
    });
     
    // initiate the client
    this.initiateClient();
    // return instance if needed
    return this.client;
    }
    this.alertBox( null , 'Couldn\'t connect to the server!.');
    },
     
    any pointers?

     

    s...@cooki.me Apr 20 07:26AM +0200  

    Dear Friends & Clients,
     
    be advised that im currently on vacation and back only 30th of April. Thank you

     

    utan <vcompu...@gmail.com> Apr 20 11:54AM -0700  

    does that means I will not get any answer from anyone else?
     
     

     

You received this message because you are subscribed to the Google Group socket_io.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
You received this message because you are subscribed to the Google Groups "Socket.IO" group.
To unsubscribe from this group and stop receiving emails from it, send an email to socket_io+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

s...@cooki.me

unread,
Apr 21, 2013, 9:27:12 PM4/21/13
to sock...@googlegroups.com

utan

unread,
Apr 23, 2013, 12:06:44 AM4/23/13
to sock...@googlegroups.com
Hi,

Yes I been playing with engine.io and it fires fine when browsers like IE <=8 refreshes.. engine.io supposed to be available in next release of socket.io or something like that i read...
It supposed to start with xhr-polling and then upgrade connection...

I think I will need to keep an eye on engine.io.

regards

utan

unread,
Apr 23, 2013, 3:40:36 PM4/23/13
to Socket.IO
Check this bug in socket.io
https://github.com/LearnBoost/socket.io/commit/2075307f23f630f973e4c7fe9bf5b29216da0db7#commitcomment-3071097

I've made some test's and indeed works.. now..

On Apr 21, 6:26 pm, Ives Brito <ivesbr...@gmail.com> wrote:
> I have the same problem :(( im using flash socket :(((
>
> Ives Brito
>
> Em 20/04/2013, às 16:54, sock...@googlegroups.com escreveu:
>
>
>
>
>
>
>
> >   Today's Topic Summary
> > Group:http://groups.google.com/group/socket_io/topics
>
> > Socket.op IE7 8 9 onunload disconnect.. [3 Updates]
> >  Socket.op IE7 8 9 onunload disconnect..
> > utan <vcomputado...@gmail.com> Apr 19 10:26PM -0700
> > utan <vcomputado...@gmail.com> Apr 20 11:54AM -0700
Reply all
Reply to author
Forward
0 new messages