General discussion

Locked

Refresh Content on a redirected page?

By rsp05 ·
Hi:
I am a novice when it comes to HMTL/ASP, but have an ASP page that runs some script, insert new data into DB tables, and then REDIRECTS it to a static HTML page. This HTML page is updated via the SQL Server web assistant. However, when it redirects (i.e. RESPONSE.REDIRECT "SQL.html", it always seems to grab the one in the cache, not the updated one. Is there a way to refresh the destination page, from code within the first page??? Thanks for help!

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Refresh Content on a redirected page?

by Raffi_ In reply to Refresh Content on a redi ...

Hi. First of all, your *static* HTML page is not static if it is drawing info from your DB. It is dynamic.

Try playing with these tags to keep the page out of cache and for refresh times:

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

<meta http-equiv="refresh" content="5;URL=yourpagehere.html">

"content="5 in the above sample is 5 seconds to refresh

Regards
Raffi_

Collapse -

Refresh Content on a redirected page?

by rsp05 In reply to Refresh Content on a redi ...

Poster rated this answer

Collapse -

Refresh Content on a redirected page?

by rsp05 In reply to Refresh Content on a redi ...

This question was closed by the author

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Forums