Pageload event is not getting fired in firefox.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rupesh prasad
    New Member
    • Feb 2011
    • 1

    Pageload event is not getting fired in firefox.

    Please refer the following URL
    I implemeted in the same way as mentioned in following URL
    http://bytes.com/topic/c-sharp/answers/253086-pageload-when-back-clicked
    i added
    <%@ OutputCache Location="None" %>
    to my aspx page.
    after adding this the page load event is getting fired in IE but not in firefox.

    Any help will be higly appreciated.

    Thanks
    Rupesh
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Web browsers cache web pages so that when the user hits the back button the web page is instantly displayed.

    In other words, when the user hits the back button, a request is never sent to the server because a cached version of the page will be displayed.

    You can try using meta tags to indicate that the page expires immediately after it's displayed to the user...but not all browsers pay attention to these meta tags.

    -Frinny

    Comment

    Working...