Group: http://groups.google.com/group/socket_io/topics
- Socket.op IE7 8 9 onunload disconnect.. [3 Updates]
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.