Refresh upon redirect

Results 1 to 2 of 2

Thread: Refresh upon redirect

  1. #1
    Join Date
    Dec 1969

    Default Refresh upon redirect

    How can I refresh a previous page by using using redirect? I pass some values get in one page to the other. After processing the values and updating the database, I use the response.redirect to get back to the previous page, however, the previous page showing the database values is not updated. I need to explicitly press the refresh button to let the page showing the up-to-date values. How can I do this automatically? Thx!<BR><BR><BR><BR>

  2. #2
    Mr Swifty Guest

    Default RE: Refresh upon redirect

    There are two ways that I can think of:<BR>1. you could use something like document.refresh in the body onload event<BR>2. disable caching with this line of server-side script, pretty near the top of the page:<BR>response.expires = 0<BR>OR<BR>response.expires = -1

Posting Permissions

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