Forums

This topic is locked

Refresh Page

Posted 29 Nov 2001 15:33:35
1
has voted
29 Nov 2001 15:33:35 Alex Xander posted:
hi anyone know why sometimes in some pages when i press a submit button on a Update page and then redirect to page which contain a list of these values. why sometimes the list page is not refreshed??
Or anyone know how can i refresh a page on Load??
plz help me!!<img src=../images/dmxzone/forum/icon_smile_question.gif border=0 align=middle>

Replies

Replied 29 Nov 2001 16:01:27
29 Nov 2001 16:01:27 Alex Xander replied:
hi again i found the problem when i use response.redirect it refresh the new page, but when i use window.location="" it does not refresh the page

i have this code
&lt;script language="javascript"&gt;
function Ap_submit() {
window.location = "admincust.asp";
}
&lt;/script&gt;
On javascript i cannot use response.redirect
any suggestion?

Replied 29 Nov 2001 21:26:39
29 Nov 2001 21:26:39 Marcellino Bommezijn replied:
Try using No Cache in your page !

&lt;% Response.CacheControl = "no-cache" %&gt;&gt;
&lt;% Response.AddHeader "Pragma", "no-cache" %&gt;
&lt;% Response.Expires = -1 %&gt;


Reply to this topic