Forcing updates

Results 1 to 3 of 3

Thread: Forcing updates

  1. #1
    Steve Rowson Guest

    Default Forcing updates

    I have a page that inserts a record on the many side of a relationship. I then open another page which displays data from both sides. The data from the many side is displayed in a loop. All works OK except.<BR>Sometimes I add a record to the many side and, when I look at the next page, the record is not showing. Check the database - the record has definitely been added. Click Refresh - it appears! I have response.expires=0 at the top of the page but for some reason the browser will not display the &#039latest&#039 data until I click the Refresh button. As I say this only happens sometimes. Any ideas?

  2. #2
    Join Date
    Dec 1969
    Posts
    2,849

    Default RE: Forcing updates

    What browser are you using? I&#039ve had trouble with IE5 refreshing when using Response.Expires = 0.<BR><BR>What seems to work with all browsers, even IE5, is:<BR>Response.ExpiresAbsolute = Now() - 1<BR><BR>Which says, literally, "Expire 1 day ago..."<BR><BR>:)

  3. #3
    Steve Rowson Guest

    Default RE: Forcing updates

    Thanks for your reply. I am using IE4 which is a bit worrying if you have only had the problem in IE5.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •