Javascript - AJAX Request Cancelled after a While over SSL -


i using prototype js framework ajax calls on ssl connection. @ first, ajax performs fine. however, if page live more 10 seconds or so, ajax requests fail return , have status of 0, or 'canceled' in network inspector...

enter image description here

this happens across multiple browsers , i've tried other solutions relating .gz files, no avail.

another hints once ajax requests begin fail, green lock symbol turns grey triangle warning symbol (insecure content). pointers please?

the ajax requests being redirected our european switcher. changed this:

   $clearcurrenturl = str_replace(array('/index.php'), '', mage::helper('core/url')>getcurrenturl());    $clearredirecturl = str_replace(array('/index.php'), '', $redirecturl); 

to this...

   $clearcurrenturl = str_replace(array('/index.php', 'https://', 'http://'), '', mage::helper('core/url')->getcurrenturl());    $clearredirecturl = str_replace(array('/index.php', 'https://', 'http://'), '', $redirecturl); 

and works charm now! :) thx folks.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -