uploading multiple photos in Firefox causes lost session in ASP.NET Web Forms -


when use telerik ui asp.net ajax's telerik:radasyncupload control upload multiple photos (have preview before being uploaded), works on browsers in local dev environment , our test server. works on chrome , ie in our beta , prod servers. doesn't work on firefox in our beta , prod server; kicks user out , redirect them login page. debugged , found reason session lost. reason, firefox cause session lost.

our beta , prod servers have load balancer while our test server doesn't. try individual ip address (not using domain name) in beta/prod, still have same problem.

our code based on following link's sample code.

http://www.telerik.com/support/code-library/preview-image-before-it-have-been-uploaded-with-radasyncupload

i not sure if problem related telerik control, or firefox problem. seems me more latter.

this problem weird. has been several weeks , still not able solve it.

we have fixed problem. problem still firefox's bug, indicated in post

http://www.telerik.com/support/code-library/preview-image-before-it-have-been-uploaded-with-radasyncupload

the trick part how fix bug: delay 10 ms before calling showthumbnail(...). notice cannot put delay inside showthumbnail(...), doesn't work.

window.currentfileuploaded = function (radasyncupload, args) {     ...     if (navigator.useragent.indexof("firefox") != -1) // if firefox, delay 10 ms. fix firefox bug!!!      {         settimeout(function () { showthumbnail(...); }, 10);     }     else     {         showthumbnail(...);      }  } 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -