Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE won't refresh asp page 2

Status
Not open for further replies.

rtshort

IS-IT--Management
Feb 28, 2001
878
US
I know this is not the right forum, but I thought someone here may have ran accross this before.

I'm working on an asp for a crystal report. I was working on the sql statement for it and had to change and refresh it so I could use Response.Write to get the sql statement to write to the page. I would copy and paste it in the sql query analyzer until it worked.

Now that all of that is over with and the sql statement is working, if I change anything on the page, save it, and refresh the browser it stays the same. I put another Response.Write statement in it just to see. It wouldn't write it to the page. Then, I commented everything on the page out, refreshed the page, same thing. The sql statement was still there and the new Response.Write was not. Then I cleared out my history folder, re-started the computer, checked the page again, same damn thing. Just like I never did anything. This now, is with the WHOLE page commented out.

I've been at it all day and I'm brain dead, but this ain't right.

Anyone had this happen before. Rob
Just my $.02.
 
i think the problem is with the cache,
empty history and delete offline files.

try again. Known is handfull, Unknown is worldfull
 
You probably want to add this to your code:
Code:
Response.Expires = 0

You can also insert thedatetime of your last update of the page, so the browser will request the page anew from the server:
Code:
Response.AddHeader "Last-modified","Sat, 01 Mar 2003 10:00:00 GMT"

That should do the trick. If not, you could try this html-code as well:
Code:
<meta http-equiv=&quot;Pragma&quot; content=&quot;no-cache&quot;>
<meta http-equiv=&quot;expires&quot; content=&quot;0&quot;>

If the page still won't refresh properly, it is your web server. Your ISP might do some backup/maintenance, and then you're working on some kind of cached mirror server. Nothing to do about that, except wait.

Palooka
 
Thanks guys. I did all of them at once. Don't know which one it was exactly but it's working again.

Thanks again. Rob
Just my $.02.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top