Visualizzazione dei risultati da 1 a 8 su 8
  1. #1
    Utente di HTML.it
    Registrato dal
    May 2005
    Messaggi
    27

    IFRAME vs CACHE in javascript

    Hello,
    I have an iframe tag, in an asp page, that point to an url.

    <iframe frameborder="0" src="bo.asp" width="100%" height="100%" scrolling="auto" marginwidth="0" marginheight="0" name="MainFrame" bgcolor="black" >

    In the same page, I have a left menu where i change the url of my
    "MainFrame".
    When I change url, in javascript, by:
    document.frames['MainFrame'].location.href=url

    I see that sometimes the progress bar of the browser (IE) is always in work in progress, even if the page html is completed!

    I see that the page that call the iframe get these parameter for cache:
    Response.Buffer = True
    Response.Expires = -1
    Response.AddHeader "Pragma", "no-cache"
    Response.AddHeader "cache-control", "no-store"

    if I put these commands, all works.
    So...is there any problem in Internet Explorer when the Iframe calls an asp page with cache control????

    Please help me....is urgent!

    Thanks for all...
    Francesco
    francesco

  2. #2
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    21,188
    Where are you from?
    It is difficult to understand, because you either don't use the plurals or omits the "s" in the third person singular verbs.

    ----
    On which pages do you find that problem? On a page from your website or from other's?

    Are you sure that there are not images or other objects in the page that can loop or in any way need the activity of the browser?
    Nuova politica di maggiore severita` sui titoli delle discussioni: (ri)leggete il regolamento
    No domande tecniche in messaggi privati

  3. #3
    Utente di HTML.it
    Registrato dal
    May 2005
    Messaggi
    27

    IFRAME vs CACHE in javascript

    Ciao..Mich_

    allora...il problema lo ho sempre sul mio webserver.
    E comunque non c'è nessuna image o qualkos'altro che mi faccia andare in loop la pagina, perchè Cliccando sul Link "Configurazioni" (che mi cambia l'url dell'IFRAME) a volte funziona e a volte no.
    Voglio dire...per far uscire il problema devo cliccare più di una volta sul link!

    La prima volta mi carica la pagina correttamente...la seconda volta IE mi rimane in workinprogress anche se la pagina html è completata!

    Che cosa strana!

    Qualke suggerimento?
    francesco

  4. #4
    Utente di HTML.it L'avatar di C232
    Registrato dal
    Dec 2004
    Messaggi
    303

    ...

    c figur e m**d
    C/C++

  5. #5
    Utente bannato
    Registrato dal
    Jun 2004
    Messaggi
    1,854
    questa non l'ho capita

  6. #6
    Utente di HTML.it
    Registrato dal
    May 2005
    Messaggi
    27
    si...ma come faccio ora?!!?
    francesco

  7. #7
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    21,188
    Originariamente inviato da jron
    si...ma come faccio ora?!!?
    Puoi postare il link? Magari a qualcuno viene in mente qualcosa, vedendo tutta la pagina.
    Nuova politica di maggiore severita` sui titoli delle discussioni: (ri)leggete il regolamento
    No domande tecniche in messaggi privati

  8. #8
    Utente di HTML.it
    Registrato dal
    May 2005
    Messaggi
    27

    RISOLTO!!!!

    Eh raga....
    sono riuscito a raggirare un BUG di Explorer e MOZILLA a quanto pare.

    A fine pagina ho aggiunto un'altro iframe (invisibile)..e l'errore non l'ho più!


    <iframe frameborder="0" width="0%" height="0%" scrolling="auto" marginwidth="0" marginheight="0" name="FooterFrame" bgcolor="black" >
    <center>
    <div class="titolo">

    Il tuo browser non supporta i frame in linea</div>

    <div>Prosegui</div>
    </a>
    </center>

    </iframe>

    Ehhhhheheh

    Grazie di tutto..
    Alla prox
    francesco

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.