[ 2 posts ]

Cai Guo Bin

  • Username: caigb
  • Joined: Wed Jul 11, 2012 10:08 pm
  • Posts: 33
  • Offline
  • Profile
Tags:

IO problems

Post Posted: Thu Jul 26, 2012 11:11 pm
+0-
When I use Y.IO like this:

Code:
        var editBaseFastReport = function() {
            var configuration = {
                on: {
                    complete: function(o) {
                        var data = Y.JSON.parse(o.data.responseText);
                        alert(o.data.responseText);
                        if (data.Active == false || data.Status == 3 || data.Status == 5) {
                            alert(data.Message);
                            return;
                        }
                        showEditFastReportPanel(data.Year, data.Status);
                    }
                }
            };

            var io = new Y.IO({ emitFacade: true, bubbles: true });
            io.send('../ParkLogic/FastReportActivated', configuration);
        };


Realy troubles me, for with Firefox this functions OK, but with IE(7),there is a strange problem that the first call to this function will do correct, and when call this function again, this io.send didn't realy do send message to server, just returned data last time received.

I write this way (new Y.IO) instead of using Y.IO.send for I think Y.IO events may have problems for different io request called in the same time.

Who knows how to handle this problem?

Cai Guo Bin

  • Username: caigb
  • Joined: Wed Jul 11, 2012 10:08 pm
  • Posts: 33
  • Offline
  • Profile

Re: IO problems

Post Posted: Sun Jul 29, 2012 4:33 pm
+0-
Resolved with set all IO method to POST
IE Get method uses cache data most times
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum