L
Liming
Hi all,
A quick question on Cache. I'm not sure what I'm doing wrong. I'm
testing out two pages. Page1 and Page2. Page1 click a button, redirect
to page 2.
on both page, i have
<%@ OutputCache Duration="1" Location="None" VaryByParam="none" %>
and on both page_load, I try to do print on the current time.
Page1
4/20/2006 2:54:51 AM
Page 2
4/20/2006 2:54:57 AM
Once I get on Page2, I click 'browser back" button, and I'm still
seeing 4/20/2006 2:54:51 AM on Page1. It's a cached page. I need to
see the new time (which should be later than 2:54:57).
What am I doing wrong? I'm using Firefox 1.5
Thanks
A quick question on Cache. I'm not sure what I'm doing wrong. I'm
testing out two pages. Page1 and Page2. Page1 click a button, redirect
to page 2.
on both page, i have
<%@ OutputCache Duration="1" Location="None" VaryByParam="none" %>
and on both page_load, I try to do print on the current time.
Page1
4/20/2006 2:54:51 AM
Page 2
4/20/2006 2:54:57 AM
Once I get on Page2, I click 'browser back" button, and I'm still
seeing 4/20/2006 2:54:51 AM on Page1. It's a cached page. I need to
see the new time (which should be later than 2:54:57).
What am I doing wrong? I'm using Firefox 1.5
Thanks